Dear forum
I am struggling with a problem in a massive set of data.
It is a table with four columns and different number of rows. Each individual item consists of a varying number of rows.
I need to compare two of the columns, and if they are identical, replace the content of the other column.
So if columns are named A B C D. Column A has only one entry per item, and B C D all has several entries per item.
So the codes has to compare A with B, and if A = B, then replace all the B's with A. But only until there is a change in B. Then it has to compare again.
I hope it makes sense. I have attached a sample workbook illustrating what I am looking for.
SampleWorkbook.xlsm
I am thinkin I need two if statements, where one of them monitors when B changes, and the other doing the comparison?
But I am not sharp enough with coding to do this..
Hope you are able to help.
Bookmarks