Identify duplicates between 2 columns

diveshop

New Member
Joined
Jul 17, 2003
Messages
11
I have a column (A) with a list of say 500 names. I then copy & paste a seperate list in column B of 20 names. I need to then scroll 1 by 1 in column A to find each name listed in column B & then delete it in column A. (very tedious). How do I get excel to identify these new names in column B & find & highlight or automatically delete them in column A. eg
A B
Peter john
mary andre
elly steve
simon mary

Instead of scrolling down list A to find "mary", I need "mary" in column A to be highlighted or preferably automatically deleted.

Please help ... I am a beginner

Andre :rolleyes:
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
This formula:

=ISNUMBER(MATCH(A1,B$1:B$20,FALSE))

will return TRUE if the name in A1 is in the range B1:B20. Enter it in say C1 and copy down as far as necessary. If you AutoFilter the data for column C = TRUE you will see which rows to delete.
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,019
Members
448,938
Latest member
Aaliya13

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