+ Reply to Thread
Results 1 to 3 of 3

How to Delete Duplicate Records from 2 different Tables

  1. #1
    Registered User
    Join Date
    06-01-2012
    Location
    kent
    MS-Off Ver
    excel 2010
    Posts
    9

    How to Delete Duplicate Records from 2 different Tables

    I have a product price file of 45,000 lines ( called complete.xls), from which we have extracted about 3,000 lines to put on to our website(called website.xls)

    I now want to put the whole price file (complete.xls) on the website, but do not want to duplicate what is already on there, the table with 3000 lines (website.xls)

    Is there a way to remove the 3000 lines which are on website.xls from the complete.xls file

    I am unable to upload this due to the size of the file and the sensitive nature of the prices etc. So hope this is still clear

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to Delete Duplicate Records from 2 different Tables

    Since the website.xls was extracted from the complete.xls, I would simply delete the website.xls and upload the complete.xls to the website unless you need to have those 3000 records separate from the others for a reason not explained. If you do require the two separate files then use the procedure that you used to identify and extract the 3000 records from the complete.xls in the first place and delete them from complete.xls .
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Forum Contributor
    Join Date
    04-13-2010
    Location
    England
    MS-Off Ver
    Office 2016 365
    Posts
    211

    Re: How to Delete Duplicate Records from 2 different Tables

    Agree with the above.


    If still not suitable then assuming there is a unique identifier in Column A of both workbooks then open both files and in the last column of complete.xls type a header, then in row 2 type:

    =MATCH(A2,[website.xls]Sheet1!$A:$A,0)

    If the row item is in the Website .xls file. The formula will return a number.

    If the row item is NOT in the Website file then the formula will return a #N/A

    Simply filter on and delete anything with a number from the Complete.xls and upload.

+ 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