Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Does anyone know how to program a function in VBA that will count the total
number of unique observations in an array? I imagine that the syntax would be: =UNIQUE(array) For instance, if an array of 5 observation look like this apple orange apple apple banana the Unique() function would return 3. I am aware that you can do this with a pivot table, but the unique function would be a lot more convenient. It is also probable there is another way to do this with built-in excel functions. Please let me know if you have any ideas. Thanks, Henrik |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Counting number of observations within a date range? | Excel Worksheet Functions | |||
How to find the top 5% observations | Excel Discussion (Misc queries) | |||
Listing Unique Observations | Excel Worksheet Functions | |||
Number of Observations | Excel Discussion (Misc queries) | |||
Formulas for...1. Counting unique cells 2. Display unique contents | Excel Programming |