Count statement with multiple criteria

Hylke

New Member
Joined
Oct 14, 2005
Messages
17
Is it possible to create a count statement with multiple criteria?

____A______B
1 l 1 nov l Chris
2 l 2 aug l Chris
3 l 4 okt l Hank
4 l 9 nov l Chris
5 l 1 nov l Hank
.
Countif (TEXT(A1:A5;"mmm")="nov") & (B1:B5="Chris")
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hi

=SUMPRODUCT(--(MONTH(A1:A5)=11),--(B1:B5="chris"))

Assuming A1:A5 are real dates

Eli
 
Upvote 0

Forum statistics

Threads
1,224,271
Messages
6,177,610
Members
452,785
Latest member
3110vba

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top