function to return "number" of different values that occur ?

  • Thread starter Thread starter scott
  • Start date Start date
S

scott

Hi,

Is there an function is Excel that can return the number of different values
i.e

COLUMNA
1
1
1
1
2
2
3
4
5
6
6
6
6
6

TOTAL = 6
(i.e 6 different values appear)

Thanks for any help.
Scott
 
Hi
=SUMPRODUCT((A1:A100<>"")/(COUNTIF(A1:A100,A1:A100)+(A1:A100="")))
 

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