+ Reply to Thread
Results 1 to 3 of 3

Highlight duplicates in 2 columns: Keep duplicates, delete rest

  1. #1
    Registered User
    Join Date
    06-23-2021
    Location
    's Hertogenbosch, Netherlands
    MS-Off Ver
    2015 (365)
    Posts
    1

    Highlight duplicates in 2 columns: Keep duplicates, delete rest

    Hi there,

    I am new to the forum since today because I am facing a problem highlighting duplicates in a large Excel file (at around 200.000 rows).


    Situation:
    Our suppliers sent a list with over 200000 rows in a file. I only need 1800 of them. I can identify the 1800 needed rows by the SKU number, which is the same in both documents.

    For smaller files I would do the following:

    1. Paste the needed SKU numbers in a new column in the file from the supplier
    2. Use conditional formatting to highlight duplicates in those two columns
    3. Create a filter for the existing column and filter on the colour I used to highlight the the numbers
    4. Copy the highlighted rows to another document

    End goal: I have one file with all supplier information which I need.


    Problem:
    Can't apply the steps written above since the file of the supplier is too big. Once I want to filter the rows on highlighted colour, whole excel crashes.



    Question:
    Is there any way I can filter those 1800 articles from the 200000 rows in the large file without crashing Excel?



    Thanks in advance.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,377

    Re: Highlight duplicates in 2 columns: Keep duplicates, delete rest

    Maybe just use VLOOKUP, XLOOKUP or INDEX/MATCH to copy across the details to your subset of SKUs.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Highlight duplicates in 2 columns: Keep duplicates, delete rest

    Hi tobyvb,

    according to Forum Rule 3 you should supply information about or link(s) to the other thread(s) you posted on other Forum(s).

    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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] Highlight columns with duplicates
    By forestview in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-10-2020, 10:47 AM
  2. [SOLVED] Highlight duplicates between 2 columns
    By dawondr in forum Excel General
    Replies: 3
    Last Post: 08-10-2018, 11:30 AM
  3. [SOLVED] Macro to find duplicates, concatenate cells, then delete old duplicates (2)
    By cny in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2016, 06:05 AM
  4. [SOLVED] Macro to find duplicates, concatenate Unique Values, then delete old duplicates
    By lesoies in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2013, 04:32 PM
  5. Replies: 6
    Last Post: 04-10-2013, 01:15 AM
  6. Replies: 17
    Last Post: 07-05-2011, 05:37 PM
  7. Macro to check for duplicates and highlight duplicates
    By obc1126 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-23-2008, 09:55 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