Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Counting Unique Vales in a column
I have a column of numbers I need to know how many unique values there are. Some of the numbers are just numbers, I.E. 200394840 while others start with a letter, I.E. I200394-840. I'm not sure if the hyphen in the middle of the number or the letter or both are throwing me off, but I've been using =SUM(IF(FREQUENCY(A2:A772,A2:A772)0,1)), but this seems to only count the numbered values, not the ones that start with letters or hyphens. Any/All help on this would be appreciated.
|
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Counting Unique Vales in a column
For an excellent answer see:
http://www.cpearson.com/excel/duplicat.htm -- Gary''s Student - gsnu200720 "frankjh19701" wrote: I have a column of numbers I need to know how many unique values there are. Some of the numbers are just numbers, I.E. 200394840 while others start with a letter, I.E. I200394-840. I'm not sure if the hyphen in the middle of the number or the letter or both are throwing me off, but I've been using =SUM(IF(FREQUENCY(A2:A772,A2:A772)0,1)), but this seems to only count the numbered values, not the ones that start with letters or hyphens. Any/All help on this would be appreciated. -- frankjh19701 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Counting Unique Vales in a column
Try something like this:
=SUMPRODUCT((A2:A772<"")/(COUNTIF(A2:A772,A2:A772&""))) Does that help? *********** Regards, Ron XL2002, WinXP "frankjh19701" wrote: I have a column of numbers I need to know how many unique values there are. Some of the numbers are just numbers, I.E. 200394840 while others start with a letter, I.E. I200394-840. I'm not sure if the hyphen in the middle of the number or the letter or both are throwing me off, but I've been using =SUM(IF(FREQUENCY(A2:A772,A2:A772)0,1)), but this seems to only count the numbered values, not the ones that start with letters or hyphens. Any/All help on this would be appreciated. -- frankjh19701 |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Counting Unique Vales in a column
=SUM(IF(FREQUENCY(MATCH(A2:A772,A2:A772,0),MATCH(A 2:A772,A2:A772,0))0,1))
ctrl+shift+enter, not just enter "frankjh19701" wrote: I have a column of numbers I need to know how many unique values there are. Some of the numbers are just numbers, I.E. 200394840 while others start with a letter, I.E. I200394-840. I'm not sure if the hyphen in the middle of the number or the letter or both are throwing me off, but I've been using =SUM(IF(FREQUENCY(A2:A772,A2:A772)0,1)), but this seems to only count the numbered values, not the ones that start with letters or hyphens. Any/All help on this would be appreciated. -- frankjh19701 |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Counting Unique Vales in a column
Keep in mind, that will fail if there are empty cells. It will also count
formula blanks. Biff "Teethless mama" wrote in message ... =SUM(IF(FREQUENCY(MATCH(A2:A772,A2:A772,0),MATCH(A 2:A772,A2:A772,0))0,1)) ctrl+shift+enter, not just enter "frankjh19701" wrote: I have a column of numbers I need to know how many unique values there are. Some of the numbers are just numbers, I.E. 200394840 while others start with a letter, I.E. I200394-840. I'm not sure if the hyphen in the middle of the number or the letter or both are throwing me off, but I've been using =SUM(IF(FREQUENCY(A2:A772,A2:A772)0,1)), but this seems to only count the numbered values, not the ones that start with letters or hyphens. Any/All help on this would be appreciated. -- frankjh19701 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Counting Unique Values | Excel Discussion (Misc queries) | |||
Unique counting | Excel Discussion (Misc queries) | |||
Counting only Unique cells | Excel Worksheet Functions | |||
Counting unique entries in column A but only if specific values appear in columns B and C | Excel Worksheet Functions | |||
Counting every unique text string in a column | Excel Worksheet Functions |