
Originally Posted by
JBeaucaire
You don't really need a macro for this, the steps below shouldn't take more than a couple of minutes.
1) Open both documents
2) Copy the Excel2 sheet into the Excel1 workbook as a new sheet, let's assume the results are Excel1 = Sheet1 and Excel2 = Sheet2
3) Now on sheet2 in empty column D put this formula in D2
=ISNUMBER(MATCH(A2, Sheet1!A:A, 0))
4) Copy that D2 cell down the entire data set, a series of TRUE/FALSE answers will appear.
5) Highlight row1 and turn on the Data > Filter
6) Filter column D for TRUE
7) Highlight the visible rows and copy them to a new workbook
8) Close the two original workbooks without saving any changes you made, thus the original workbooks are pristine
Bookmarks