Combining COUNTIFS and SUMPRODUCT

NikNak74

New Member
Joined
Jan 16, 2018
Messages
1
Hi

I want to show the number of times each team member has created a certain type of document by month.

ie Nigel created 3 an 'always on' documents in the month of Jan

So I'm looking for a column that shows its Nigel, a column that shows the document is 'always on' and a column that shows the date is some time in January.

I can manage to do the Countifs and the sumproduct seperately, but not together. This is what I have so far but its not working. Any help much appreciated.

COUNTIFS('Step3 Comms Prioritisation'!$D$149:$D$250,<wbr style="font-family: arial, sans-serif; font-size: 12.8px;">"Always on (lights out)",'Step3 Comms Prioritisation'!$M$149:$M$250,<wbr style="font-family: arial, sans-serif; font-size: 12.8px;">"Nigel")AND =SUMPRODUCT(--(MONTH('Step3 Comms Prioritisation'!Y149:Y250)=7))
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hello NikNak74, welcome to MrExcel

You can either use COUNTIFS with specific start and end dates, e.g. for July 2017

=COUNTIFS('Step3 Comms Prioritisation'!$D$149:$D$250,"Always on (lights out)",'Step3 Comms Prioritisation'!$M$149:$M$250,"Nigel",'Step3 Comms Prioritisation'!Y149:Y250,">="&DATE(2017,7,1),'Step3 Comms Prioritisation'!Y149:Y250,"<"&DATE(2017,8,1))

or use SUMPRODUCT like this for July in any year:

=SUMPRODUCT(('Step3 Comms Prioritisation'!$D$149:$D$250="Always on (lights out)")*('Step3 Comms Prioritisation'!$M$149:$M$250="Nigel")*(MONTH('Step3 Comms Prioritisation'!Y149:Y250)=7))
<strike></strike>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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