Count Unique Numbers
I have a list of number with many duplicates. I need to know how many unique
numbers are in that list. For example if the list was 2,2,2,3,4,5,5,5,6 I would like to know that there are 5 unique numbers in the list. This spreadsheet will be updated by people who are not familiar with Excel, so I would like this to be as automated as possible. Thanks |
Count Unique Numbers
See he http://www.cpearson.com/excel/duplicat.htm, specifically, the
section Counting Unique Entries in a Range. Have a macro attached to a button which carries out the calculation, if you want to automate this. Dave -- A hint to posters: Specific, detailed questions are more likely to be answered than questions that provide no detail about your problem. "Averitt Engineer" wrote: I have a list of number with many duplicates. I need to know how many unique numbers are in that list. For example if the list was 2,2,2,3,4,5,5,5,6 I would like to know that there are 5 unique numbers in the list. This spreadsheet will be updated by people who are not familiar with Excel, so I would like this to be as automated as possible. Thanks |
Count Unique Numbers
=SUMPRODUCT(1/COUNTIF(A2:A10,A2:A10))
HTH Kostis Vezerides On Feb 14, 7:57 pm, Averitt Engineer <Averitt wrote: I have a list of number with many duplicates. I need to know how many unique numbers are in that list. For example if the list was 2,2,2,3,4,5,5,5,6 I would like to know that there are 5 unique numbers in the list. This spreadsheet will be updated by people who are not familiar with Excel, so I would like this to be as automated as possible. Thanks |
Count Unique Numbers
=SUMPRODUCT((A2:A200<"")/COUNTIF(A2:A200,A2:A200&""))
-- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Averitt Engineer" <Averitt wrote in message ... I have a list of number with many duplicates. I need to know how many unique numbers are in that list. For example if the list was 2,2,2,3,4,5,5,5,6 I would like to know that there are 5 unique numbers in the list. This spreadsheet will be updated by people who are not familiar with Excel, so I would like this to be as automated as possible. Thanks |
Count Unique Numbers
=SUMPRODUCT((A1:A100<"")/COUNTIF(A1:A100,A1:A100&""))
If all the numbers are in a cell then do this: Data Text to Column Next select Comma then use formula above and adjust your range "Averitt Engineer" wrote: I have a list of number with many duplicates. I need to know how many unique numbers are in that list. For example if the list was 2,2,2,3,4,5,5,5,6 I would like to know that there are 5 unique numbers in the list. This spreadsheet will be updated by people who are not familiar with Excel, so I would like this to be as automated as possible. Thanks |
Count Unique Numbers
Here's another one:
=SUM(--(FREQUENCY(A2:A10,A2:A10)0)) Biff "Averitt Engineer" <Averitt wrote in message ... I have a list of number with many duplicates. I need to know how many unique numbers are in that list. For example if the list was 2,2,2,3,4,5,5,5,6 I would like to know that there are 5 unique numbers in the list. This spreadsheet will be updated by people who are not familiar with Excel, so I would like this to be as automated as possible. Thanks |
Count Unique Numbers
"T. Valko" wrote...
Here's another one: =SUM(--(FREQUENCY(A2:A10,A2:A10)0)) .... Or just =COUNT(1/FREQUENCY(A2:A10,A2:A10)) |
All times are GMT +1. The time now is 11:42 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com