Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How do i count unique values in my data?
Eg A1:A5 Red Blue Yellow Blue Red =3 Bruce |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(1/COUNTIF(A1:A5,A1:A5))
-- Gary''s Student "Bruce" wrote: How do i count unique values in my data? Eg A1:A5 Red Blue Yellow Blue Red =3 Bruce |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank Gary's Student.
What is I add the following criteria....With this formula it returns #div/0 if there are blanks. Reason is my actual data has a dynamic range refreshed by MSQuery to a DB. I want to set the range in the count to A1:A1000 to cover the maximun records I except, however there may only be 300 or so actual records to count.... Bruce "Gary''s Student" wrote: =SUMPRODUCT(1/COUNTIF(A1:A5,A1:A5)) -- Gary''s Student "Bruce" wrote: How do i count unique values in my data? Eg A1:A5 Red Blue Yellow Blue Red =3 Bruce |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT((A1:A5<"")/COUNTIF(A1:A5,A1:A5&""))
-- HTH Bob Phillips (remove nothere from email address if mailing direct) "Bruce" wrote in message ... Thank Gary's Student. What is I add the following criteria....With this formula it returns #div/0 if there are blanks. Reason is my actual data has a dynamic range refreshed by MSQuery to a DB. I want to set the range in the count to A1:A1000 to cover the maximun records I except, however there may only be 300 or so actual records to count.... Bruce "Gary''s Student" wrote: =SUMPRODUCT(1/COUNTIF(A1:A5,A1:A5)) -- Gary''s Student "Bruce" wrote: How do i count unique values in my data? Eg A1:A5 Red Blue Yellow Blue Red =3 Bruce |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
code not unique find latest date | Excel Discussion (Misc queries) | |||
COUNTIF or not to COUNTIF on a range in another sheet | Excel Worksheet Functions | |||
Count Unique Values | Excel Worksheet Functions | |||
Combining IF and COUNTIF based on two columns | Excel Discussion (Misc queries) | |||
Countif - Countif | Excel Worksheet Functions |