+ Reply to Thread
Results 1 to 8 of 8

Counting Unique Names

  1. #1
    Registered User
    Join Date
    08-07-2012
    Location
    United States
    MS-Off Ver
    Excel Mac 2011
    Posts
    4

    Counting Unique Names

    I have a sheet where column A is a text list of names. Columns B-E is other data. Some of the names in A are duplicates. I need a count of the unique names in column A at the bottom of a range. Can anyone help with a formula?

    Thanks for your help.

    Bruce

  2. #2
    Valued Forum Contributor
    Join Date
    05-07-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    354

    Re: Counting Unique Names

    For count of unique value in A1:A10

    =SUM(IF(FREQUENCY(MATCH(A1:A10,A1:A10,0),MATCH(A1:A10,A1:A10,0))>0,1))

    confirmed with <Ctrl><Shift><Enter>
    Regards,
    Vandan

  3. #3
    Registered User
    Join Date
    08-07-2012
    Location
    United States
    MS-Off Ver
    Excel Mac 2011
    Posts
    4

    Re: Counting Unique Names

    Thank you! Perfect. One more quick question: If I want to use this formula on a second range of cells in the same sheet, is there an easy way to copy and "paste special" to automatically pick up the second range? Or do I just type in the second range manually - which is really no big deal. Always trying to save keystrokes.

    I am going to study the logic of this formula so I'll understand it better and can learn this stuff myself.

    Thank you again.

    Bruce

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

    Re: Counting Unique Names

    Alternate non-array formula:
    Please Login or Register  to view this content.
    And I'm not sure what you mean by second range. You want to apply the formula to C10:C20 instead of A1:A10?
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Registered User
    Join Date
    08-07-2012
    Location
    United States
    MS-Off Ver
    Excel Mac 2011
    Posts
    4

    Re: Counting Unique Names

    Thank you tigeravatar. The way I currently have it, I have calendar year 2010 in rows 2-57. Then have calendar year 2011 in rows 62-141 continuing down the same sheet. On the next tab I look at the same data, arranged similarly, by fiscal year.

    You have all been very helpful.

    Bruce

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

    Re: Counting Unique Names

    Unfortunately a formula copy paste will only pick up a different range relative to the paste location from the copy location. So if you copy it from A1 and paste it to D3, the cell references will move right 3 and down 2. So you'll need to type in (or select) the different cell range if that type of copy/paste won't fit your needs.

  7. #7
    Registered User
    Join Date
    08-07-2012
    Location
    United States
    MS-Off Ver
    Excel Mac 2011
    Posts
    4

    Re: Counting Unique Names

    Got it. Thank you very much.

  8. #8
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Counting Unique Names

    @ BRodgers25

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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