Date of task completion "On Time" or "Late"
I am trying to create a formula that will simply determine if a project is approved "On Time" or "Late", or if the "Plan Due Date [45 Days]" cell is blank (auto-populates based on a submission date cell, not populate the cell at all. I have reviewed several other discussion posts and best answers but I cannot get any of the solutions to work for my sheet. Your help is much appreciated, so that I can complete my task on time :)
Here is my formula:
=IF(AND(NOT(ISDATE([Plan Due Date \[45 Days\]]@row)), ISBLANK([Plan Approved Date]@row)), "On Time", IF(AND(ISBLANK([Plan Approved Date]@row), [Plan Due Date \[45 Days\]]@row >= TODAY()), "On Time", IF([Plan Approved Date]@row > [Plan Due Date \[45 Days\]]@row, "Late", IF([Plan Approved Date]@row = [Plan Due Date \[45 Days\]]@row, "On Time", IF([Plan Approved Date]@row < [Plan Due Date \[45 Days\]]@row, "On Time")))))
Answers
-
I was able to get the formula to not error out, but I didn't check all your conditions are working the way you want.
Give this a try:
=IF(AND(NOT(ISDATE([Plan Due Date \[45 Days\]]@row)), ISBLANK([Plan Approved Date]@row)), "On Time", IF(AND(ISBLANK([Plan Approved Date]@row), [Plan Due Date \[45 Days\]]@row >= TODAY()), "On Time", IF(OR([Plan Approved Date]@row <= [Plan Due Date \[45 Days\]]@row), "On Time", IF([Plan Approved Date]@row > [Plan Due Date \[45 Days\]]@row, "Late"))))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!