+ Reply to Thread
Results 1 to 2 of 2

Compare and/or select and delete duplicates between 2 columns?

  1. #1
    Registered User
    Join Date
    03-18-2020
    Location
    London
    MS-Off Ver
    2019
    Posts
    1

    Compare and/or select and delete duplicates between 2 columns?

    Hi

    I have been looking everywhere for what I think should be quite easy, alas with no luck.

    I have 2 column of product names in Excel 2019.
    I want to highlight or preferably delete products from column 2 that already appear in column 1, without disturbing column 1.

    I have tried a couple of formula's to set formatting of the duplicate cells, such as =countif($B:$B, $A1) but this seems clumsy somehow and I can't figure out how to save this to quickly apply to a spreadsheet using a keyboard shortcut etc.


    If anyone has a tutorial I can follow, that would be awesome.

    Many thanks

    Gaz
    Last edited by GaryHatesSpam; 03-18-2020 at 02:36 PM.

  2. #2
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: Compare and/or select and delete duplicates between 2 columns?

    If column 1 were A2:A1001 and column 2 were Q2:Q501 and column R were empty,

    R2: =COUNT(MATCH(Q2,A$2:A$101,0))

    filled down into R3:R501. The col R formulas return 1 for column Q values which appear in column A. Select Q1:R501, and apply a filter, select column R equal to 1, clear the visible cells, and remove the filter. What remains in column Q are values not already in column A.

+ 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. Compare multiple columns and delete duplicates
    By christop in forum Excel General
    Replies: 3
    Last Post: 02-05-2015, 06:24 PM
  2. Compare columns and delete duplicates
    By ephrahim in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-24-2013, 03:38 PM
  3. Compare two columns delete duplicates
    By camo090 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-16-2013, 03:59 PM
  4. [SOLVED] Compare two columns-delete duplicates from just ONE column
    By dawsonsoo in forum Excel General
    Replies: 12
    Last Post: 06-05-2013, 09:42 AM
  5. Replies: 1
    Last Post: 05-06-2013, 06:28 AM
  6. Compare Two Columns Between Two Worksheets, keep duplicates, delete others, copy new
    By navyav8er in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-14-2012, 03:59 PM
  7. Compare multiple columns and delete duplicates
    By labrooy in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-03-2011, 08:02 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