count group

  • Thread starter Thread starter daniellchiu via OfficeKB.com
  • Start date Start date
D

daniellchiu via OfficeKB.com

a
a
a
b
b
c
c
c
c
total 7

Hi, there are 3a 2b 4 c
and I want to get Total 7, please help
 
I have NO idea how you calculate to get 7!

could you explain that further?

Carlo
 
Sorry, actually I just want to group all of them and count the no of group,
it should be total = 3
thanks!
I have NO idea how you calculate to get 7!

could you explain that further?

Carlo

a      
a      
[quoted text clipped - 12 lines]
 
Try this:

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

--
Biff
Microsoft Excel MVP


daniellchiu via OfficeKB.com said:
Sorry, actually I just want to group all of them and count the no of
group,
it should be total = 3
thanks!
I have NO idea how you calculate to get 7!

could you explain that further?

Carlo

[quoted text clipped - 12 lines]
 

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