+ Reply to Thread
Results 1 to 2 of 2

Compare 2 Excel tables and remove the identical rows

  1. #1
    Registered User
    Join Date
    04-17-2018
    Location
    Austria
    MS-Off Ver
    2016
    Posts
    1

    Compare 2 Excel tables and remove the identical rows

    I want to "merge" 2 lists and remove each row from the first table if the second table contains the exact same row.
    Is there a faster way than to do it by hand because there are several thousand rows?
    Thanks in advance!

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Compare 2 Excel tables and remove the identical rows

    do it in a copy file first but you can just copy and paste table 2 under table 1.
    if you want to know which value came from which table simple insert a column in both tables where write "Table1" or Table2 on each line before you paste table 2 under table 1

    then select the columns that contain duplicates and go to the Data menu option "Remove duplicates" and run it. All duplicates should be gone then

    If you want a intermediate solution to have a little more control on deleting records. you can after you merged the full tables set a conditional formatting for duplicate values on the column(s) with duplicates. After that you can filter by color to select the duplicate lines. After that you can manually delete the lines eighter one by one or by filtering again on the extra column with value "Table1"

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Adding Multiple Identical tables to a Master Identical table
    By dlogfx in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-24-2017, 04:41 PM
  2. compare two tables and remove duplicates in vba
    By kielle in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-28-2016, 05:30 AM
  3. Replies: 2
    Last Post: 01-25-2015, 08:32 AM
  4. Replies: 1
    Last Post: 01-07-2014, 09:09 PM
  5. [SOLVED] How do I merge two tables in Excel that have identical columns?
    By arn0ldas in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-16-2013, 07:29 AM
  6. Replies: 2
    Last Post: 05-27-2010, 11:39 AM
  7. compare 2 sheets and remove identical rows in sheet 2
    By VBisgreat in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2009, 04:41 PM

Tags for this Thread

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