+ Reply to Thread
Results 1 to 4 of 4

Compare Sheet1 and Sheet 2 and Remove Matching Records from Sheet1

  1. #1
    Registered User
    Join Date
    09-21-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Compare Sheet1 and Sheet 2 and Remove Matching Records from Sheet1

    Hello,

    I have a workbook with 2 worksheets. Both sheets contain name and address information. They both contain First, Last, Address1 and City. Sheet 1 has about 52,000 records and Sheet 2 has about 2280 records. I need to compare the 2 sheets to find any records that are the same on both sheets and then need to remove the records that are the same from Sheet 1. In other words remove any matching records from Sheet 1 that also exist on Sheet 2. For example:

    Sheet 1
    John Doe 123 Main St Thistown
    Pete Moss 789 That St Mytown
    Jane Public 111 This St Hertown

    Sheet 2
    John Doe 123 Main St Thistown
    Bob Zip 999 Your St Anytown
    Dave Pop 777 Home St Histown

    When looking at the 2 sheets the matching records are
    John Doe 123 Main St Thistown
    I would need to remove this record from Sheet 1.

    I’m not really sure how to go about accomplishing this task. Any help will be greatly appreciated.

    Thank you,
    Dave

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Compare Sheet1 and Sheet 2 and Remove Matching Records from Sheet1

    Dave,
    It could be done by a macro. Which column do you use for comparison purpose? It would have been easier if you could attach a sample.

  3. #3
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,290

    Re: Compare Sheet1 and Sheet 2 and Remove Matching Records from Sheet1

    Take a look at this solution with formulas
    Sort on column G and delete the row(s)
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  4. #4
    Registered User
    Join Date
    09-21-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Compare Sheet1 and Sheet 2 and Remove Matching Records from Sheet1

    Hi AB33,

    Unfortunately I can't attach the spreadsheet becuse it contains real customer information and it would take me a long time to create a sample spreadsheet. But I will look into using a macro as you have suggested. Thank you for your response.

    Regards,

    Dave

+ 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