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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
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,215,427
Messages
6,124,831
Members
449,190
Latest member
rscraig11

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