Count celds of a list without repeating

rguevara

New Member
Joined
Apr 10, 2002
Messages
8
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
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
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.
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,213,494
Messages
6,113,986
Members
448,538
Latest member
alex78

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top