Counting Values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello All

Yet another problem ... have spreadsheed with multiple rows of data, however
I am looking to find a way of counting unique entries ...

ie data in colums such as ... 123 234 345 456 123 345 789

I am looking for a count function to tell me that there are 5 different
indivdual values within this set ... not lookking for number of entries just
identifying the different unique individual entries

Many Thanks

Alan
 
Hi
try:
=SUMPRODUCT((A1:A20<>"")/(COUNTIF(A1:A20,A1:A20)+(A1:A20= "")))
 
Thanks Frank ... however that didnt work for me here ... some of my sheets
also contain more than 20 rows :(
 
Hi
then just change the range reference. e.g. change
A1:A20 (all occurences) to
A1:A100 (or whatever is required)
 
Gord Dibben said:
Assuming the data are in A1 to G1 and always numbers.

=SUM(N(FREQUENCY(A1:G1,A1:G1)>0)) returns 5
....

Fewer nested function calls is usually better.

=COUNT(1/FREQUENCY(A1:G1,A1:G1))
 
Thanks Harlan!
I also get help from your answer!
thank you very much!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top