Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Counting unique values in column
I have a column containing text values which could be unique, repetitive or
some rows could be empty. I need a formula that will count the total number of unique values only, (not counting the empty cells) e.g. in the example below, the answer will be "3": Column A Fish Fish (Empty) Chicken Rat Chicken (Empty) |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Counting unique values in column
Try
=SUMPRODUCT((A1:A1000<"")/COUNTIF(A1:A1000,A1:A1000&"")) Mike "WildWill" wrote: I have a column containing text values which could be unique, repetitive or some rows could be empty. I need a formula that will count the total number of unique values only, (not counting the empty cells) e.g. in the example below, the answer will be "3": Column A Fish Fish (Empty) Chicken Rat Chicken (Empty) |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Counting unique values in column
Thanks Mike, sorted!
"Mike H" wrote: Try =SUMPRODUCT((A1:A1000<"")/COUNTIF(A1:A1000,A1:A1000&"")) Mike "WildWill" wrote: I have a column containing text values which could be unique, repetitive or some rows could be empty. I need a formula that will count the total number of unique values only, (not counting the empty cells) e.g. in the example below, the answer will be "3": Column A Fish Fish (Empty) Chicken Rat Chicken (Empty) |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Counting unique values in column
In article ,
WildWill wrote: I have a column containing text values which could be unique, repetitive or some rows could be empty. I need a formula that will count the total number of unique values only, (not counting the empty cells) e.g. in the example below, the answer will be "3": Column A Fish Fish (Empty) Chicken Rat Chicken (Empty) Here's another way... =SUM(IF(FREQUENCY(IF(A2:A100<"",MATCH("~"&A2:A100 ,A2:A100&"",0)),ROW(A2: A100)-ROW(A2)+1),1)) ....confirmed with CONTROL+SHIFT+ENTER. -- Domenic http://www.xl-central.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Pivot Table - Counting Unique Values within one column of da | Excel Worksheet Functions | |||
Counting unique values | Excel Worksheet Functions | |||
Counting Unique Values That Are Separate by Commas in a Column | Excel Discussion (Misc queries) | |||
Counting Unique Values | Excel Worksheet Functions | |||
Counting unique entries in column A but only if specific values appear in columns B and C | Excel Worksheet Functions |