+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Indentify duplicate values with a condition

  1. #1
    Forum Contributor
    Join Date
    01-18-2009
    Location
    Montreal
    MS-Off Ver
    MS Office 2016
    Posts
    111

    Question Indentify duplicate values with a condition

    Hello Everyone,

    I'm having some trouble creating a formula in identifying duplicate values.

    Don't know if a array would do the trick...this might be something simple but result would have to be as depicted below.

    Question:
    How can I identify unique values and define them under column B1 results:

    Values under column A1:
    123
    123
    123
    146
    146
    150

    Results under column B1 should be
    123-1
    123-2
    123-3
    146-1
    146-2
    150-1

    I appreciate any assistance given.

    Thank you,
    Antonio
    Last edited by jantonio; 09-28-2011 at 09:15 AM.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Indentify duplicate values with a condition

    jantonio,

    In cell B1, try this formula:
    =A1&"-"&COUNTIF($A$1:A1,A1)

    And copy down.

    Hope that helps,
    ~tigeravatar

  3. #3
    Forum Contributor
    Join Date
    01-18-2009
    Location
    Montreal
    MS-Off Ver
    MS Office 2016
    Posts
    111

    Re: Indentify duplicate values with a condition

    Thank you....that works just fine!

+ 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