+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Count Unique Values and

Hybrid View

  1. #1
    Registered User
    Join Date
    07-28-2011
    Location
    Vancouver, WA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Count Unique Values and

    I am looking to create a formula that will look at values in column A, and at the first instance of a unique value, put an identifier (a 1 or an X) in column B next to it. I've attached a sample spreadsheet with an example of what I'm looking for.
    Attached Files Attached Files
    Last edited by Fishbubbles; 07-28-2011 at 03:24 PM.
    Thanks! JB

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Count Unique Values and

    Using your posted workbook, this regular formula flags the first instance of a Col_A value
    B2: =IF(MATCH(A2,$A$1:$A$80,0)=ROW(A2),1,"")

    Copy that formula down as far as you need.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    07-28-2011
    Location
    Vancouver, WA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Count Unique Values and

    That works like a charm. I haven't used Match before, but glad I know about it now. Thank you Ron!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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