+ Reply to Thread
Results 1 to 2 of 2

Identifying duplicate data using multiple columns

  1. #1
    Registered User
    Join Date
    06-11-2013
    Location
    Nashville, TN
    MS-Off Ver
    Excel 2007
    Posts
    3

    Identifying duplicate data using multiple columns

    I need to identify, and custom format rows that have duplicate data based on data in 5 columns. My goal is for the formatting formula to:

    Highlight the rows where data in columns A, B, C, D, and E are all identical to any other rows on the sheet.

    My initial run with the COUNTIFS ($A$2:$A$XXX,$A2,...,$E$2:$E$XXX,$E2)>1 has not worked consistently. It still locates and highlights cells that only have 2 out of the 5 columns matching, and for some reason, it will randomly highlight a unique row, where nothing matches anything else on the sheet.

    I have a sheet like this come to my desk every day, and visually finding the duplicates can be tedious.

    Here's today's data set for me to sort.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Identifying duplicate data using multiple columns

    Try this suggestion. If you are looking for instances where A+B+C+D+E are repeated (in that order), add a helper and combine them (I added a new column F)...
    =A2&B2&C2&D2&E2
    You can then use this to ID the duplicates....
    =COUNTIF($F$2:$F$407,F2)>1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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