Results 1 to 3 of 3

Identify duplicates between 2 columns

This is a discussion on Identify duplicates between 2 columns within the Excel Questions forums, part of the Question Forums category; I have a column (A) with a list of say 500 names. I then copy & paste a seperate list ...

  1. #1
    New Member
    Join Date
    Jul 2003
    Posts
    11

    Default Identify duplicates between 2 columns

    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

  2. #2
    MrExcel MVP
    Moderator
    Andrew Poulsom's Avatar
    Join Date
    Jul 2002
    Posts
    69,015

    Default Re: Identify duplicates between 2 columns

    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.

  3. #3
    New Member
    Join Date
    Jul 2003
    Posts
    11

    Default

    Thanx Andrew, much appreciated

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


DMCA.com