How to check if data in one workbook is not duplicated in another?

Amstrad

New Member
Joined
Feb 17, 2011
Messages
23
I have 2 workbooks. The first workbook contains master list of all customers we have ever contacted. The 2nd workbook contains a number of potential new customers that we want to contact with a promotion.

Before contacting the new potential customers, I want to check that we have never contacted them before, in which case they would be on the master list.

What can I create that will allow me to check if the cutomer ID on workbook 2 appears in the list on workbook 1 and if so, delete that customer from that sheet iand add it to a new sheet called "Already Contacted"?

Many thanks for your help.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
This is probably not the best solution and is definitely not automated, but it can help you identify the rows to delete from your new list.

I put the master list in column A, the new list in column B and this formula in column C for each record in B:

=IF(ISNA(VLOOKUP(B2,$A:$A,1,FALSE)),"New","Existing")

You can then filter your new list data on "Existing" and delete all of those rows. What you have left is all "New" data that you can copy and paste.

Like I said, not elegant, but it will work. I'm sure someone else in this forum will have a better/faster way to do this.
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,480
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top