Forum

Notifications
Clear all

Excel formula - Count

5 Posts
4 Users
0 Reactions
74 Views
(@mymalone)
Posts: 103
Estimable Member
Topic starter
 

I am trying to figure out what is the excel formula to count when there are two distinct criteria (pulling from two columns).  I have tried =countif(a1:d59,”123” & “ABD”).  It did not work.

Basically, I want to count the number of titles by unit.  Can you help? 

 Thanks

Title

Unit

Month

123

ABC

9/6/2017

 
Posted : 10/11/2017 5:27 pm
(@fravis)
Posts: 337
Reputable Member
 

It would have helped me when you showed some more data. The countif works slightly different from the way you approach it.

It counts the number of units when they fit to the given criterium: COUNTIF(b2:b59,"ABC")

So I don't see the combination with the title column in this case.

Maybe you can clearify or give some more data?

 
Posted : 10/11/2017 6:37 pm
(@sunnykow)
Posts: 1417
Noble Member
 

I would consider using a Pivot Table.

 
Posted : 10/11/2017 7:21 pm
(@shaowu459)
Posts: 44
Eminent Member
 

=COUNTIFS(A:A,E2,B:B,F2)

 

=SUM((A2:A14=E3)*(B2:B14=F3)),apply Ctrl+Shift+Enter

 
Posted : 20/11/2017 10:08 am
(@mymalone)
Posts: 103
Estimable Member
Topic starter
 

Thank you

 
Posted : 20/11/2017 11:57 am
Share: