+ Reply to Thread
Results 1 to 5 of 5

Find duplicates in two columns in two different tables

  1. #1
    Registered User
    Join Date
    07-15-2010
    Location
    Chicago, IL
    MS-Off Ver
    Excel 365 (Win 10 - Home)
    Posts
    3

    Find duplicates in two columns in two different tables

    Hello everyone,

    I have matching data in two different columns in two different tables. The master table (6445 rows) has it under column "Catalog Number." The table that I want to upload new data (191 rows) associated with the rows with the matching number has that data under column "Item #." I need help typing in a formula that will both match the rows, and indicate with a number "1" in a different column which rows under "Catalog Number" will match up with rows from "Item #."

    What the end result of this action is that once I find out which 191 rows from the 6445 row Master Table match up with the other table, I can group all of those matching rows through the sort feature, and delete the rows that don't match. I can then update those rows with new pricing data. I started doing this manually, but I made enough errors where I stopped out of frustration. I hope the sample I've attached will help me to construct a much-needed solution.

    I hope that I gave enough information, and thank you in advance for any help that you can provide, because I still have another table that needs to update this master table, but it has 1398 rows compared to the 191 this table has to update for products.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Find duplicates in two columns in two different tables

    Maybe this in some blank cell in the Pricelist updates tab and copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Good luck!

  3. #3
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,832

    Re: Find duplicates in two columns in two different tables

    I don't know if I fully understand, but would this do it? Put this formula in cell C2 of the Master Pricelist and copy down:

    =IF(ISNUMBER(MATCH(A3,'[Pricelist Updates.xlsx]IncrDecr Proposal'!$A$5:$A$20,0)),1,"")

    NOTE: you have that column (C) formatted as "TEXT". You should change it back to "General"

  4. #4
    Registered User
    Join Date
    07-15-2010
    Location
    Chicago, IL
    MS-Off Ver
    Excel 365 (Win 10 - Home)
    Posts
    3

    Re: Find duplicates in two columns in two different tables

    Will either of the two formulas will return a duplicate result for items on the Master Pricelist that the duplicates on the Pricelist Updates are on different rows? I would also like a way where I can get a value in a new column on the Master Pricelist tab that I can use to separate all the items that return as duplicates where I can use those values to separate the ones that don't return duplicates.

  5. #5
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,832

    Re: Find duplicates in two columns in two different tables

    Actually, you could just use a COUNTIFS formula and it will show you how many times it shows up on the other file. I.e.:

    =COUNTIFS('[Pricelist Updates.xlsx]IncrDecr Proposal'!$A$5:$A$20,A2)

+ 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. [SOLVED] Find Duplicates across 13 Columns
    By mrsbrannon in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-14-2018, 09:20 AM
  2. Find Duplicates across 2 pairs of columns (2 columns against 2 columns)
    By erjfly2013 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-09-2015, 06:52 PM
  3. find duplicates across two different tables
    By castleres in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 02-27-2014, 03:48 PM
  4. Find duplicates between two columns
    By mints.maksim in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-19-2013, 01:48 AM
  5. How to find duplicates on multiple columns (3 Columns )
    By Kaleemuddin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-19-2012, 07:04 AM
  6. To find out the duplicates in the columns
    By piyushau in forum Excel General
    Replies: 5
    Last Post: 07-30-2012, 08:53 PM
  7. Replies: 1
    Last Post: 02-13-2012, 08:08 PM

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