Date based formulas - ignore empty Date column
Hello everyone,
We often use formulas to check a checkbox type of column based on a "Date" input. Eg, "Mark Overdue" formula:
=IF([Due Date]@row < TODAY(), 1))
The issues is the checkbox is checked even if the Date column is empty. So when there is no Due Date, the task is marked "Overdue".
Is there any way or adjusting the formula so it "ignores" items with no Due Date?
Thank you!
Best Answers
-
This formula should do what you need
=IF(ISBLANK([Due Date]@row), false, IF([Due Date]@row < TODAY(), true, false))
Tested as below and working
Hope that helps
Thanks
Paul
-
Hi @Petra Stewart ,
Something along the lines of this should work:
=IF(ISDATE([Due Date]@row), IF([Due Date]@row < TODAY(), 1), "")
I would hazard a guess that your sheet probably has some additional columns that you would want to include in any formula to highlight whether it is overdue or not rather than just if the due date has passed but I can't write the formula without knowing what these are.
Answers
-
This formula should do what you need
=IF(ISBLANK([Due Date]@row), false, IF([Due Date]@row < TODAY(), true, false))
Tested as below and working
Hope that helps
Thanks
Paul
-
Hi @Petra Stewart ,
Something along the lines of this should work:
=IF(ISDATE([Due Date]@row), IF([Due Date]@row < TODAY(), 1), "")
I would hazard a guess that your sheet probably has some additional columns that you would want to include in any formula to highlight whether it is overdue or not rather than just if the due date has passed but I can't write the formula without knowing what these are.
-
Thanks a lot Paul and Nick!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!