Thanks:  0
Likes:  0

# Thread: Count celds of a list without repeating

1. I have a list of 100 names, in that list are for example 25 names that are repeated so they totalizes 100.
I want to count only the different names, i mean that my result be 25 in my example.
.

[ This Message was edited by: rguevara on 2002-04-12 09:43 ]

2. On 2002-04-12 09:25, rguevara wrote:
I have a list of 100 names, in that list are for example 25 names that are repeated so they totalizes 100.
I want to count only the different names, i mean that my result be 25 in my example.
Sorry my english I dont speak verry well.
use:

=SUM(IF(LEN(A1:A100)>0,1/COUNTIF(A1:A100,A1:A100)))

This is an Array Formula, you will have to use Ctrl+Shift+Enter NOT just enter. If done correctly the formula Excel will put {}'s round the formula.

I can't lay claim to this, credit goes to David Hager for the 1/COUNTIF(A1:A100,A1:A100) bit and Aladin for the IF(LEN(A1:A100)>0 bit.

3. I dit it, i wonder if four formula works with a matrix i will try it and tell you.
Thank very much.
Renzo

[ This Message was edited by: rguevara on 2002-04-12 10:28 ]

## User Tag List

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•