=Countblank with 2 other criteria

Ghost141

New Member
Joined
Dec 7, 2023
Messages
12
Office Version
  1. 365
Platform
  1. Windows
Hi gang, Trying to suss out the formula to count the blank cells in column B dependant on date and status.

For "approved", I want to count any blank cells older than 24 hours, for declined, i want to count blank cells older than 14 days.

Thanks!

Book3
ABC
13/15/24C2024-12345678Approved
23/16/24C2024-12345679Approved
33/17/24Approved
43/18/24C2024-12345681Approved
53/19/24C2024-12345682Declined
63/20/24Declined
73/21/24C2024-12345684Declined
83/22/24C2024-12345685Approved
93/23/24C2024-12345686Approved
103/24/24Approved
113/25/24C2024-12345688Approved
123/26/24C2024-12345689Declined
133/27/24C2024-12345690Declined
143/28/24Declined
153/29/24C2024-12345690Declined
163/30/24C2024-12345690Declined
173/31/24Approved
184/1/24C2024-12345690Approved
194/2/24C2024-12345690Approved
204/3/24Approved
214/4/24C2024-12345690Approved
224/5/24C2024-12345690Approved
234/6/24Declined
244/7/24C2024-12345690Declined
254/8/24C2024-12345690Declined
264/9/24Declined
274/10/24C2024-12345690Declined
284/11/24C2024-12345690Declined
294/12/24Declined
304/13/24C2024-12345690Declined
314/14/24C2024-12345690Declined
324/15/24Declined
334/16/24C2024-12345690Declined
344/17/24C2024-12345690Declined
Sheet1
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
See if this works for you.
Excel Formula:
=COUNTIFS($B$1:$B$34,"",$A$1:$A$34,"<"&TODAY()-14)

I would recommend putting Today() in a cell perhaps called Report Date. This will give you some ability to control the report for when you are testing it or need to run the report for Yesterday or some other previous period
 
Upvote 0
just correcting for the "approved" and "declined" selection also :

Excel Formula:
=COUNTIFS(B$1:B$34,"",C$1:C$34,"Approved",A$1:A$34,"<"&TODAY()-1)

Excel Formula:
=COUNTIFS($B$1:$B$34,"",C$1:C$34,"Declined",$A$1:$A$34,"<"&TODAY()-14)
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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