+ Reply to Thread
Results 1 to 3 of 3

identifying duplicates

  1. #1
    Registered User
    Join Date
    10-07-2005
    Location
    Brighton
    Posts
    7

    identifying duplicates

    Hello everybody,

    Here's my problem. I have a huge (25,000 row) spreadsheet with two 'ordered' columns of 6 digit co-ordinate data (eastings and northings). I now want to create a third column which identifies duplicates.

    Essentially, what I want to do is each time column-A and column-B are duplicated in a series of rows, then create unique flag in the third column...

    e.g.

    123456, 989876, 1
    123456, 989876, 1
    765432, 343232, 2
    456543, 686843, 3
    456543, 686843, 3
    456543, 686843, 3
    675423, 776453, 4
    282864, 966572, 5
    282864, 966572, 5
    282864, 966572, 5
    ...etc

    Any help much appreciated,
    Many thanks,
    Helen

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444
    Hi There,

    Presuming you always have the two columns changing at the same row, and that your data starts at a1 put 1 in the c1, and then

    =IF(AND(A2=A1,B2=B1),C1,C1+1) IN c2,

    copied down underneath it.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    10-07-2005
    Location
    Brighton
    Posts
    7
    Thanks Dave,
    You're my hero xxx

+ 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