Multiple COUNTIF and MONTH

kerlj001

New Member
Joined
Jun 2, 2011
Messages
10
I need some help with an excel formula pleas:

=SUMPRODUCT(--(RAW!$R$3:$R$20000="RESPOND"),--(RAW!$I$3:$I$20000=B4),--( RA W!$S$3:$S$20000="MADE"))


which searches the RAW tab and counts the number of rows where all 3 arrays are met. This works fine.

I need to now added another array to search column T (Dates dd/mm/yyyy) for all the above AND where the /mm/ part of the date = 12 (for example)

I tried this but n luck
=SUMPRODUCT(--(RAW!$R$3:$R$20000="RESPOND"),--(RAW!$I$3:$I$20000=B3),--( RA W!$S$3:$S$20000="MADE"),--(MONTH(RAW!$Q$3:$Q$20000=12)))


Any Ideas please, its driving me mad!

Thnx, Jody
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Mis-placed closing parenthesis

=SUMPRODUCT(--(RAW!$R$3:$R$20000="RESPOND"),--(RAW!$I$3:$I$20000=B3),--( RA W!$S$3:$S$20000="MADE"),--(MONTH(RAW!$Q$3:$Q$20000)=12))
 
Upvote 0
I need some help with an excel formula pleas:

=SUMPRODUCT(--(RAW!$R$3:$R$20000="RESPOND"),--(RAW!$I$3:$I$20000=B4),--( RA W!$S$3:$S$20000="MADE"))


which searches the RAW tab and counts the number of rows where all 3 arrays are met. This works fine.

I need to now added another array to search column T (Dates dd/mm/yyyy) for all the above AND where the /mm/ part of the date = 12 (for example)

I tried this but n luck
=SUMPRODUCT(--(RAW!$R$3:$R$20000="RESPOND"),--(RAW!$I$3:$I$20000=B3),--( RA W!$S$3:$S$20000="MADE"),--(MONTH(RAW!$Q$3:$Q$20000=12)))


Any Ideas please, its driving me mad!

Thnx, Jody

In your description of your question, you said you wanted to check dates in column T
But in your formula you've used Column Q
Which is it?

Vogs formula works, perhaps you just need to change it to look at the correct column for the dates.
 
Upvote 0
The date format doesn't matter but the dates must be Excel dates. What does

=ISNUMBER(Q3)

return?
 
Upvote 0
So they are not Excel Dates. please post a few examples of what you have in column Q.
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,286
Members
452,902
Latest member
Knuddeluff

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