Counting unique text/number cells from a range

  • Thread starter Thread starter sudeepd12
  • Start date Start date
S

sudeepd12

Please consider a long range of text cells containing A, B, C, D....Z
and more.

Lets say it goes from H1 to H1500

A ->H1
A
B
F
D
A
H
D
 
Try...

=SUMPRODUCT((H1:H1500<>"")/COUNTIF(H1:H1500,H1:H1500&""))

Hope this helps!
 
Thanks for the command. It gives the number of distinctive or unique
values in the range.

Could you suggest a way to get the count of each of the repetitive
values without having to specify each using the COUNTIF command.

For instance
-----------
jbushnel -->A1
jbreen
jthayer
rrobinson
ajagmag
jthayer
jbushnel -->A7
-----------

I am looking for a formula which will split the results as:

A8--> jbushnell 2-->B8
jthayer 2
rrobinson 1
ajagmag 1
jbreen 1

Is this possible?Please let me know. Thanks for your time.

Regards,
Sudeep
 

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