Combine COUNTIFS statement with SUMPRODUCT formula

Brendan89

New Member
Joined
Oct 18, 2017
Messages
26
So, I have a formula that returns a total amount of dates that are older than 30 days:

=SUMPRODUCT(--ISNUMBER(Risks!H3:H1000),--(Risks!H3:H1000<TODAY()-30))

This works great, however I also need to combine a COUNTIFS statement so it only checks for the date if certain criteria matches in another column (G).
=COUNTIFS(Risks!G3:G1000,{"Identified","Assessed","Planned","In-Process"})

I have no idea how to combine these into one formula to do this at the same time? Can anyone help?
 
Re: How To ... Combine COUNTIFS statement with SUMPRODUCT formula

Hi, do you want a count of the rows where the date is < 30 days from today and the value in same row in column G is one of "Identified","Assessed","Planned","In-Process"?


Hello,

No not quite what I was looking to do, the Date check older than 30 days is column H and the value to match for the count ("Identified","Assessed","Planned","In-Process") is Column G.
 
Upvote 0

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Re: How To ... Combine COUNTIFS statement with SUMPRODUCT formula

No not quite

Hi, not sure which bit wasn't quite right, but I'm fairly sure you want the SUM(COUNTIFS(.. formula from post #5 .
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

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