I have two columns of sorted numbers, which don't match sometimes. I would like to put a blank cell in the column where there is no match to a number, so that all matches are in the same rows. Please see the attachment. Can you please help me?
I have two columns of sorted numbers, which don't match sometimes. I would like to put a blank cell in the column where there is no match to a number, so that all matches are in the same rows. Please see the attachment. Can you please help me?
The easiest way would be to add a temporary helper column.
So in column C add formula:
=IF(ISNUMBER(MATCH(A1,B:B,0)),A1,"") and copy it right down the list...
Then copy this whole column and go to B1, then Edit|Paste Special and select Values....
Then delete the temporary column.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
thanks a lot. Do you know a way to do it automatically, not manually?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks