I don't want to do this anymore - help me automate it!
April 20, 2009 5:24 AM
Subscribe
In Excel, is there an easy (i.e. free) way to cross-reference new spreadsheet entries with another workbook to ensure there are no duplicates?
I'm totally ignorant about Excel automation, so please forgive if there's a simple way to do this. My team at work has been asked to compile a daily list of names using Excel. The only problem is that there is another, existing database of names, and there can't be any duplicates.
Is there any simple way to quickly cross-reference the two workbooks? Currently we're just opening the old database and manually searching for duplicates. The two workbooks can't be combined, for a variety of reasons.
posted by downing street memo to computers & internet (8 comments total)
7 users marked this as a favorite
=COUNTIF([OldList]Sheet1!$A:$A,A1)
This will return a number in column B indicating the number of times the cell in Column A (in this case A1) is listed in the OldList worksheet.
If you open both workbooks, you can go to B1, and type =COUNTIF( and then go to the other workbook and select the column of interest, then type , and select A1 in your sheet and type ) and press enter.
This only tells you if names in the new list are listed in the old list, but should give you an idea of how to proceed.
posted by i love cheese at 5:35 AM on April 20