Hello everybody,
I need to compare two areas with two columns each . First column is full of dates, and the second has names in it. Both columns in both areas are already sorted A to Z.
Areas are similar to each other, but some names/dates combinations can appear in one area, and not in another.
Needless to say, I can not merge both columns into one and compare only two columns instead of four, due to already too big file size.
I need a code that compares all 4 columns. If both columns are with same data, do nothing, but if something is on the left (and not on the right) then do sub1 (insert row on the right), and if something is on the right (and not on the left) then do sub2 (insert row on the left). I don't need these two codes for sub1, and sub2. I wrote them already.
Example:
start - input data
http://oi57.tinypic.com/2v3n6l1.jpg
finish - output data
http://oi60.tinypic.com/317cbia.jpg
Thank you all,
Alex
I need to compare two areas with two columns each . First column is full of dates, and the second has names in it. Both columns in both areas are already sorted A to Z.
Areas are similar to each other, but some names/dates combinations can appear in one area, and not in another.
Needless to say, I can not merge both columns into one and compare only two columns instead of four, due to already too big file size.
I need a code that compares all 4 columns. If both columns are with same data, do nothing, but if something is on the left (and not on the right) then do sub1 (insert row on the right), and if something is on the right (and not on the left) then do sub2 (insert row on the left). I don't need these two codes for sub1, and sub2. I wrote them already.
Example:
start - input data
http://oi57.tinypic.com/2v3n6l1.jpg
finish - output data
http://oi60.tinypic.com/317cbia.jpg
Thank you all,
Alex