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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!