Count only once

R

rexmann

Hi

Is there an option to count a record only once. What i mean is if the word
is repeated in the list it only counts it once. Exampl

London
London
Brimingham
Manchester
London

This would give a count of 3 (only including the London once)

Not sure if this is possible

Any help greatly appreciated

rexmann
 
D

Dave Peterson

One way:

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

(Adjust the range to match.)
 

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