Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need the total number of unique values in a list. I don't what to know how
many of each value there is. Here's an example 33071 33071 33071 33072 33683 33912 33912 33912 33953 34250 In this case I need the answer to be 6 I also would like it to update the answer when I change the filter. Is that possible? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
Try: =SUM(1/COUNTIF(Range,Range)) Enter it as an array by pressing Shift+Ctrl+Enter or =SUMPRODUCT(1/COUNTIF(Range,Range)) Range is just the range where your items are. -- Cheers, Shane Devenshire "uncmello" wrote: I need the total number of unique values in a list. I don't what to know how many of each value there is. Here's an example 33071 33071 33071 33072 33683 33912 33912 33912 33953 34250 In this case I need the answer to be 6 I also would like it to update the answer when I change the filter. Is that possible? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is there a way to have the answer change when I use the filters? The
Subtotal function does this and is very usefull. "ShaneDevenshire" wrote: Hi Try: =SUM(1/COUNTIF(Range,Range)) Enter it as an array by pressing Shift+Ctrl+Enter or =SUMPRODUCT(1/COUNTIF(Range,Range)) Range is just the range where your items are. -- Cheers, Shane Devenshire "uncmello" wrote: I need the total number of unique values in a list. I don't what to know how many of each value there is. Here's an example 33071 33071 33071 33072 33683 33912 33912 33912 33953 34250 In this case I need the answer to be 6 I also would like it to update the answer when I change the filter. Is that possible? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use the following ARRAY formula (will work only wth numbers/blank cells);
=SUM(N(FREQUENCY(A1:A10,A1:A10)0)) Press CTRL and SHIFT keys while pressing ENTER after entering the above formula. assuming your data is in the range A1:A10 This is taken from http://www.cpearson.com/Excel/Duplicates.aspx You may like to read it for future use. "uncmello" wrote: I need the total number of unique values in a list. I don't what to know how many of each value there is. Here's an example 33071 33071 33071 33072 33683 33912 33912 33912 33953 34250 In this case I need the answer to be 6 I also would like it to update the answer when I change the filter. Is that possible? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count Unique Values from a Subset of a List | Excel Discussion (Misc queries) | |||
Count Unique Values | Excel Worksheet Functions | |||
Count unique values | Excel Discussion (Misc queries) | |||
Count of Unique values | Excel Worksheet Functions | |||
Count unique values and create list based on these values | Excel Worksheet Functions |