# Counting Unique Names

1. ## 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?

Bruce

2. ## 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>

3. ## 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. ## 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?

5. ## 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. ## 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. ## Re: Counting Unique Names

Got it. Thank you very much.

8. ## Re: Counting Unique Names

@ BRodgers25

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.

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