![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 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 ] |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Newcastle, UK
Posts: 1,174
|
Quote:
=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.
__________________
"Have a good time......all the time" Ian Mac |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 8
|
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 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|