+ Reply to Thread
Results 1 to 3 of 3

Detect duplicates

Hybrid View

  1. #1
    Registered User
    Join Date
    11-08-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    46

    Detect duplicates

    Can somebody help me with this quite complicated problem. I need to detect duplicate row in excel, i cant use "Remove duplicate" function because I want to see what are duplicates.

    *Every row has got 4 cells.
    *I have got around 50k rows which have do be process
    *Those rows which are duplicates must be marked with numbers 1 2 3 etc.
    *Complicated problem: Column A and B has got coordinates which may vary around +- 0.001

    There a picture to imagine what i need:
    3 rows.png

    Ask questions, maybe i didn't explained the problem clearly.
    Attached Images Attached Images
    Last edited by HelpExc; 02-08-2013 at 05:42 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Detect duplicates

    please do not post images for worksheet calculation/formula problems
    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    09-04-2014
    Location
    Voorhees, New Jersey
    MS-Off Ver
    Microsoft 2010
    Posts
    8

    Re: Detect duplicates

    =COUNTIFS($B$2:$B$22, $B2, $D$2:$D$22, $D2)>1

    Range = $B$2:$B$22
    Starting cell = $B2
    Condition= ">1" meaning the condition is met if there is more than one set of data that have identical character or data sequence.

    Note the "$B2" is not "B2" because it need "$B" needs to stay the same, while "2" will change.

    That is the formula I used. It checks the First and Last Name column for duplicates and uses conditional highlighting to highlight the first name if of the contact if its a duplicate. You can modify it to include other columns using http://office.microsoft.com/en-us/ex...005209029.aspx as a reference. You will use the formula above, but change the column (ex. $B will be $A) and the number of rows per column.
    Attached Files Attached Files
    Last edited by JHric; 09-04-2014 at 04:58 PM.

+ 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