Count if date is in the past
Hi All,
I am looking for a solution to a problem, I am trying to pull together a chart for a dashboard, displaying the number of overdue documents under review we have - the sheet is set up as below, and I have set up a 'metric sheet' however I am not sure this is the best solution. I have been using this =COUNTIFS({Master Document Tracker [DO NOT DELETE] Range 3}, <=TODAY()). But i have quickly realised, if there is an over due date in this column there will potentially be one in each column for this row. how do I count if any cells within a row have overdue dates but eliminate duplicate counts within the same row.
all suggestions welcome! thank you in advance!
Best Answer
-
Your syntax is a bit off. Try this:
=IF(COUNTIFS([Expected Draft Submit Date]@row:[Expected Doc Control Master complete]@row, @cell >= TODAY())> 0, "Overdue", "On Schedule")
Answers
-
@Kirsteen Leckie You could use a helper column on this sheet that looks to see if there is any overdue dates, then count the helper column in your metric sheet. Formula could be something like this but will need to be modified:
=if(countifs([expecteddraftdate]@row:[expected submission]@row) >=today(), "Overdue", "On Schedule")
Then on your metric sheet count the number of "Overdue".
Does that concept make sense?
-
@Samuel Mueller i like this idea - however the suggested has come back as #UNPARSEABLE.
i changed it to include the columns not shown in the picture - =IF(COUNTIFS([Expected Draft Submit Date]@row:[Expected Doc Control Master complete]@row >= TODAY(), "Overdue", "On Schedule")) but now coming back as #INCORRECT ARGUMENT SET
any ideas what I have missed?
-
Your syntax is a bit off. Try this:
=IF(COUNTIFS([Expected Draft Submit Date]@row:[Expected Doc Control Master complete]@row, @cell >= TODAY())> 0, "Overdue", "On Schedule")
-
@Paul Newcome and @Samuel Mueller thank you both! exactly what I was looking for!!
-
@Paul Newcome Thanks Paul for the fix
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!