+ Reply to Thread
Results 1 to 2 of 2

Numbering Duplicates

  1. #1
    Edgar Thoemmes
    Guest

    Numbering Duplicates

    Hi,

    Could someone help me with a formula for the following?

    I have a list of data which I would like to highlight the duplicates in.
    Basically I would like to add a column which would prefix the value by a
    number which would increase by each duplicate

    AAAA
    AAAA
    AABA
    AABA
    AACA
    AADA

    Would become

    1_AAAA
    2_AAAA
    1_AABA
    2_AABA
    1_AACA
    1_AADA

    Etc etc.....Can anyone help?

    Thanks

  2. #2
    Ardus Petus
    Guest

    Re: Numbering Duplicates

    in B1, enter:
    =COUNTIF($A$1:$A1,A1)&"_"&A1
    and copy down


    HTH
    --
    AP

    "Edgar Thoemmes" <[email protected]> a écrit dans le
    message de news: [email protected]...
    > Hi,
    >
    > Could someone help me with a formula for the following?
    >
    > I have a list of data which I would like to highlight the duplicates in.
    > Basically I would like to add a column which would prefix the value by a
    > number which would increase by each duplicate
    >
    > AAAA
    > AAAA
    > AABA
    > AABA
    > AACA
    > AADA
    >
    > Would become
    >
    > 1_AAAA
    > 2_AAAA
    > 1_AABA
    > 2_AABA
    > 1_AACA
    > 1_AADA
    >
    > Etc etc.....Can anyone help?
    >
    > Thanks




+ 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