Using COUNTIF for Dates

doverfelt

New Member
Joined
Oct 27, 2016
Messages
10
Lots of threads like this, but not answer my problem. I tried to explain in a previous post, but my logic was wrong and I'm not authorized to edit my posts.

My issue is similar in that I have two columns; Date of Request and Status of Request. For those requests in a PENDING status, I want to see how many requests are more than 90 days old and less than 180 days old.... The hope is to get a count of the requests that fall in that range....

Column P has the dates of the Requests
Column Q has the status of the requests.

A formula that looks at rows with PENDING in the Status column, then counts those Dates that fall within >90 and <180.

=COUNTIF(AND(Q:Q,"PENDING",P:P,">"&TODAY()-90 AND "<"&TODAY()-180

This doesn't work I know, but the solution should be something similar, right?
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,223,885
Messages
6,175,183
Members
452,615
Latest member
bogeys2birdies

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