Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello. Please, is there some formula i can use to do count distinct of a
range of cells? This would help to eliminate duplicates when counting, I can do this using the pivot table but it would be great to have this as formula to avoid many steps. Thanks |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=COUNTIF(A1:A100,"distinct")
"Guilherme Loretti" wrote: Hello. Please, is there some formula i can use to do count distinct of a range of cells? This would help to eliminate duplicates when counting, I can do this using the pivot table but it would be great to have this as formula to avoid many steps. Thanks |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
One way
=SUMPRODUCT(--(A1:A10<""),1/COUNTIF(A1:A10,A1:A10&"")) will do a distinct count in A1:A10 -- Regards, Peo Sjoblom "Guilherme Loretti" wrote in message ... Hello. Please, is there some formula i can use to do count distinct of a range of cells? This would help to eliminate duplicates when counting, I can do this using the pivot table but it would be great to have this as formula to avoid many steps. Thanks |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Great way out. Thanks!
"Peo Sjoblom" wrote: One way =SUMPRODUCT(--(A1:A10<""),1/COUNTIF(A1:A10,A1:A10&"")) will do a distinct count in A1:A10 -- Regards, Peo Sjoblom "Guilherme Loretti" wrote in message ... Hello. Please, is there some formula i can use to do count distinct of a range of cells? This would help to eliminate duplicates when counting, I can do this using the pivot table but it would be great to have this as formula to avoid many steps. Thanks |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Nice addendum to David Hager's original.
"Peo Sjoblom" wrote: One way =SUMPRODUCT(--(A1:A10<""),1/COUNTIF(A1:A10,A1:A10&"")) will do a distinct count in A1:A10 -- Regards, Peo Sjoblom "Guilherme Loretti" wrote in message ... Hello. Please, is there some formula i can use to do count distinct of a range of cells? This would help to eliminate duplicates when counting, I can do this using the pivot table but it would be great to have this as formula to avoid many steps. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
COUNTIF and OR | Excel Discussion (Misc queries) | |||
How do I use a countif function according to two other countif fu. | Excel Worksheet Functions | |||
edit this =COUNTIF(A1:F16,"*1-2*")+COUNTIF(A1:F16,"*2-1*") | Excel Discussion (Misc queries) | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
COUNTIF in one colum then COUNTIF in another...??? | Excel Worksheet Functions |