+ Reply to Thread
Results 1 to 5 of 5

Remove duplicates across two worksheets

  1. #1
    Registered User
    Join Date
    11-09-2009
    Location
    Lake Forest, Ca
    MS-Off Ver
    Excel 2010
    Posts
    10

    Remove duplicates across two worksheets

    Hello all!

    I have 4 columns of data in a worksheet (A-D). It goes as follows:

    | Control # | FirstName | LastName | Email |

    I have a second sheet with the same format, and a lot of duplicates. What I would like is to remove all the data from sheet 2 that is also on sheet 1. Is there a simple way to do this? the list is extremely long and would be a nightmare to do manually. I would appreciate any help.

    Thanks!

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Remove duplicates across two worksheets

    First two observations.

    1) What constitutes a duplicate?
    2) Could you combine the two sheets and then remove duplicates?

    Your profile says 2007. 2007 does have a remove duplicates utility under the data tab on the ribbon.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    04-26-2012
    Location
    Norwalk, CT
    MS-Off Ver
    Excel 2003
    Posts
    45

    Re: Remove duplicates across two worksheets

    When you say duplicates in sheet2, does that mean they are already on sheet1? Or that you have things in sheet2 showing up multiple times in sheet2?

    One thing you could do is add a new column in sheet2. Combine all 4 fields together (=A1&B1&C1&D1). This will create a unique lookup field (assuming there is nothing in sheet2 that's repeated more than once

    In sheet1 next to your data, do =vlookup(A1&B1&C1&D1,2,0). If something shows up, it means it's found it in sheet2. If you get a #N/A, that means it's not in sheet2. After that, you can quickly filter on just the #N/As and that's your data that isnt in sheet1.

    I can post an example if you need further help!

  4. #4
    Registered User
    Join Date
    11-09-2009
    Location
    Lake Forest, Ca
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Remove duplicates across two worksheets

    I just combined them and removed duplicates. I'm not sure why I couldn't think of that on my own. Friday fever maybe? Anyway thanks for the help guys, I really appreciate it.

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Remove duplicates across two worksheets

    Glad it worked out for you and thanks for the feedback

+ 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