+ Reply to Thread
Results 1 to 6 of 6

Removing duplicates from Two columns?

  1. #1
    Registered User
    Join Date
    07-14-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    43

    Removing duplicates from Two columns?

    Hi,
    In column A, I have 500 email addresses.
    In column B, I have 35 email addresses.

    I want to see if ANY of the 35 email addresses in column B exist in Column A and if they do, remove them from column A.

    A while back, someone suggested:
    =Isnumber(Match(A1,X:X,0)) will return TRUE if value in A1 matches anything in column X... then you can delete the ones where TRUE shows.

    But for some reason, EVERYTHING is returning as false. Can someone please help me a) by giving me a new formula to try? or b) help me troubleshoot what's wrong with the above formula where I'm only getting False results?

    P.S. I already know that the 35 email addresses in column B are duplicated in the larger list of column A with 500 email addresses. I just don't want to have to go and delete manually by using the "find" feature. Thanks in advance!

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Removing duplicates from Two columns?

    If you want to see if any in column B occur in column A, the formula would read
    Please Login or Register  to view this content.
    This is looking for an exact match also so if you have blank spaces or other descrepancies, it may be reading as False. If you are still having problems, troubleshoot by copy/paste one from Col A into B and see if that gives you a True
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    07-14-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Removing duplicates from Two columns?

    Thank you - I AM still having trouble. If I copy/paste Col B data into Col A, what would the formula be?

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Removing duplicates from Two columns?

    Can you upload an example of how your spreadsheet is set up including your formulas? Click on "New Post" at the bottom of the screen and scroll down to "manage attachments." If I see an example, I can tell you what's wrong.

  5. #5
    Registered User
    Join Date
    07-14-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Removing duplicates from Two columns?

    Hi,
    Here's an example. Thank you SO MUCH for your help!
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Removing duplicates from Two columns?

    Your values in column B have a blank space after each one. You can either manually delete each one or you can use the TRIM function in a separate column and then compare that new column to column A. See attachment.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1