ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How can I count up values in a list that includes duplicates? (https://www.excelbanter.com/excel-discussion-misc-queries/112175-how-can-i-count-up-values-list-includes-duplicates.html)

cbruton1975

How can I count up values in a list that includes duplicates?
 
I have a list of values, some of which are duplicated (around 600 rows). I
would like to know how many unique values there are in the list, using a
formula.

Sloth

How can I count up values in a list that includes duplicates?
 
=SUMPRODUCT(1/COUNTIF(A1:A600,A1:A600))

"cbruton1975" wrote:

I have a list of values, some of which are duplicated (around 600 rows). I
would like to know how many unique values there are in the list, using a
formula.


RagDyeR

How can I count up values in a list that includes duplicates?
 
And if the list contained any empty cells, you'd need something like this:

=SUMPRODUCT((A1:A600<"")/COUNTIF(A1:A600,A1:A600&""))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Sloth" wrote in message
...
=SUMPRODUCT(1/COUNTIF(A1:A600,A1:A600))

"cbruton1975" wrote:

I have a list of values, some of which are duplicated (around 600 rows).
I
would like to know how many unique values there are in the list, using a
formula.




All times are GMT +1. The time now is 08:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com