Link to home
Start Free TrialLog in
Avatar of Rayne
RayneFlag for United States of America

asked on

Data to Edit - Excel

Hello All,

I have attached a file where there are already filters to sort and show specific data according to user wants. Now there are two fields that the user wants to play with to determine how much profit he is getting by changing the combination of those two fields. The idea to put the filtered data copy in the first sheet is ok and also prevents users from making changes to the original data EXCEPT for two columns that can be changed to see how much premium is possible. But if the user wants to edit the two fields [sale price], [hold off] of the filtered data, how can that be done in the mainViewSheet after the data has been filtered to user needs? In vba search, form or something not sure.
Again, the idea is that the user narrows down the data set by applying specific filters and then changes the two values for the filtered data set to see the amounts of varying  premium he might get with different combination of [sale price] & [hold off] inputs.

Thank you
R
FilteredData2Edit.xlsm
Avatar of Rayne
Rayne
Flag of United States of America image

ASKER

FYI - MainViewSheet houses a copy of the filtered data, not the actual data...
ASKER CERTIFIED SOLUTION
Avatar of Saqib Husain
Saqib Husain
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rayne

ASKER

Hi Ssaqibh,

Thank you so much for your help. This is working great. Let say I put 10 in F9, now I already know the column F. (the value has to be changed in column F). The issue is finding the correct row where the change has tio register in source worksheet. Your code does it perfectly but if you could explain this line, that will help me greatl ¿

Sheets("Source").Cells(Sheets("Source").Range("C:C").Find(Cells(sr, "C")).Row, Target.Column) = Target.Value

thank you
R
Avatar of Rayne

ASKER

I just noticed if you look. There are two identical items – i1 and i1 on the unfiltered list. For example I select P1 and P2 ion the checkboxes, and put 77 and 88 on the column F corresponding to the items i1 and i1 and then I refresh, I don’t see the changes  - 77 and 88 when I again unclick and click the checkboxes.
The likely hood of items repeating in the source list will happen and the same item can be used under different programs
So its not updating correctly in that case...
Avatar of Rayne

ASKER

I will open up a new question for this duplicate issue. But yes, thank you so much for your  assisting on this one.