I have been working on this for a very long time and cannot find a solution. I will post examples below.
I have a main spreadsheet that spans from column A to column E.
I have a macro that uses my drop down box in C2 to find a value in column C and change all matching values below it to whatever I enter in D2.
What happens is that from time to time additional data will be imported starting at the next available cell, and sometimes that data will have the same value as the value I previously changed. I am trying to find a way to automatically check it there is an "old" value in the new import and change the old value to the new value. I thought the only way to do this to create a second spreadsheet that shows the "old" values in column A and the "changed" value in column B and then have it find and replace the new import off of that. The second spreadsheet would grow then based on the amount of values that I change initially so there I assume there would need to be a loop so it automatically searches for all values that need to change.
Example
Beginning Values
(My drop down box user selects B) (Change to AA)
A
B
C
B
E
Altered Values
(My drop down box) (Changed value empty)
A
AA
C
AA
E
Now My Problem
(My drop down box) (Changed value empty)
A
AA
C
AA
E
Later I import more data.
F
G
B This value I would like to automatically change to "AA"
I thought i needed add a spreadsheet with the old and new values that the "auto change" would need to reference.
Hopefully I explained this well but I am not sure. Thank you in advance.
Bookmarks