Is there a function that counts distinct number od records in a ra

A

Ayo

I am looking for a way to tell how many distinct values are in a range. For
example, say I have values in Range A5:A2000 and I want to know of those 1995
cells how many distinct values are in the range.
 
M

Mike H

Hi,

Try this but have a look at this page which discusses the merits of various
ways of doing this. And BTW doesn't like this method

=SUMPRODUCT((A5:A2000<>"")/COUNTIF(A5:A2000,A5:A2000&""))

http://www.sulprobil.com/html/count_unique.html
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 

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

Top