Count number of items overdue in a column depending on values in two other columns

Groovy Chick

Board Regular
Joined
Oct 10, 2017
Messages
75
Office Version
  1. 2016
Platform
  1. Windows
Hi, I am trying to work out how to write a formula for counting number of rows in column S that are overdue in a table if the value in another column is Open and the other column is blank. So, I have a due date field in Column S and I want to count these if the date is less than today but only if column U is blank and column Z value is "Open" in the dropdown. Can anyone help me? Very many thanks.
 

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.
you could use a countifs()

you dont indicate what version of excel you have

=countifs( S:S, "<"&today() , U:U , "", Z:Z, "open" )

Book1
ABCDEFGHIJKLMNOPQRSTUVWXYZ
121/25/221open
21/25/222
31/24/223open
41/24/224open
51/24/225
61/24/226open
71/23/227open
81/23/228
91/23/22open
101/23/22open
111/22/2211
121/22/2212open
Sheet1
Cell Formulas
RangeFormula
A1A1=COUNTIFS( S:S, "<"&TODAY(), U:U, "", Z:Z, "open" )
S1:S2S1=TODAY()
S3:S6S3=TODAY()-1
S7:S10S7=TODAY()-2
S11:S12S11=TODAY()-3
 
Upvote 0
Solution
Hi Groovey Chick,

Is this what you want?

GroovyChick.xlsx
STUVWXYZ
1DateColumn UResultStatus
201-Jan-22Dog3Open
303-Jan-22Open
409-Jan-22CatClosed
522-Jan-22SheepOpen
623-Jan-22Closed
724-Jan-22Open
825-Jan-22Closed
922-Jan-22Open
1027-Jan-22Closed
1102-Feb-22Open
12
Sheet1
Cell Formulas
RangeFormula
W2W2=COUNTIFS($S$2:$S$9999,"<"&TODAY(),$U$2:$U$9999,"",$Z$2:$Z$9999,"Open")
 
Upvote 0
Thank you so much to you both. Works a treat! I was nearly there with the countifs example but was over complicating it. I really appreciate the help. I'm on a steep learning curve with formulas and this forum is invaluable. Hopefully, over time, I will improve and maybe able to answer some basic queries to contribute to the site rather than always asking for help! Many thanks again.
 
Upvote 0

Forum statistics

Threads
1,215,029
Messages
6,122,755
Members
449,094
Latest member
dsharae57

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