Count Number of Different Cells

  • Thread starter Thread starter ForSale
  • Start date Start date
F

ForSale

B6:b45 includes a list of ID numbers. Some of the ID numbers will b
repeats. I need a formula that will count the number of differen
IDs.

Thanks
 
Make sure there is no empy cells in that range.

=SUM(1/COUNTIF(B6:B35,B6:B35))

after you put that in the formula box, press control, shift and enter

Hope that helps
 
Try...

=SUMPRODUCT((B6:B45<>"")/COUNTIF(B6:B45,B6:B45&""))

Hope this helps!
 

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