sum countifs, multiple criteria AND a less than date

Ricky Harding

New Member
Joined
Oct 20, 2008
Messages
6
Hi,

I have a list of items, with various status (open, closed, in progress, accepted ...) I also have a ' Last Actioned' date.

I want to display a number which is a count of items with a subset of the status's (ie, "Open" and "In Progress" AND which have a last actioned date which is older than 6 months.

I can do the 'display a count of items with a given status', and I can do the 'display a count of those items whcih are 6 months old or older.' However, when I combine them using this:

=SUM(COUNTIFS(G12:G40,{"Open","In Progress","Mitigated","Accepted"},(E12:E40),"<="&TODAY()-180))

I just get the same result as =COUNTIF(E12:E40, "<="&TODAY()-180). Changing one of the status's to an excluded status, for example 'closed' doesn't alter the answer.

Any ideas on how best to acheive this? Thanks in advance.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
You'd think so...

Unfortunately, I have merged cells, various other counts and some VB running to add new data and they stop a pivot table functioning. Also, a pivot table is overkill for what should be a one line function. Thanks though Roderick.
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,312
Members
452,634
Latest member
cpostell

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