Status based on Actual VS Targeted Dates
I need to have a formula for my Completion Status column. Here are the criteria and the screenshots. I keep failing at trying to write this formula, so I would appreciate some assistance. thanks in advance for your help!!
- The formula and all cells referenced are on the SAME sheet
- The formula is being written in the "Completion Status" column (screenshot 2)
- There are 3 potential Statuses for this column:
On-time - Completed prior to "Target Implementation Date" (screenshot 1). "Status" (screenshot 2) column is marked as Complete when a date is entered into "Actual Implementation Complete Date" (screenshot 1) is before "Target Implementation Date" (screenshot 1).
Complete Past Due - "Actual Implementation Complete Date" is after Target Implementation Date.
Past Due - If the "Status" column does NOT show as "Complete" yet ("Actual Implementation Complete Date" is blank), and the Target Implementation Date has passed.
In Progress - And all others should show the in progress status. So that would be 4 statuses altogether.
Sherry Fox
Data Science & Reporting Specialist | Information Technology
United HealthCare Services (UHS)
EAP | Mobilizer | Automagician | Superstar | Community Champion
https://www.linkedin.com/in/sherryfox/
Best Answer
-
Hello @Sherry Fox
Please try this
=IF(AND(Status@row = "Complete", [Actual Implementation Complete Date]@row <= [Target Implementation Date]@row), "On-time", IF(AND(Status@row = "Open", NOT(ISDATE([Actual Implementation Complete Date]@row)), [Target Implementation Date]@row < TODAY()), "Past Due", IF(AND(Status@row = "Open", NOT(ISDATE([Actual Implementation Complete Date]@row)), [Target Implementation Date]@row >= TODAY()), "In Progress", IF(AND(Status@row = "Complete", [Actual Implementation Complete Date]@row > [Target Implementation Date]@row), "Completed Past Due"))))
Hope this helps!
che
Answers
-
Hello @Sherry Fox
Please try this
=IF(AND(Status@row = "Complete", [Actual Implementation Complete Date]@row <= [Target Implementation Date]@row), "On-time", IF(AND(Status@row = "Open", NOT(ISDATE([Actual Implementation Complete Date]@row)), [Target Implementation Date]@row < TODAY()), "Past Due", IF(AND(Status@row = "Open", NOT(ISDATE([Actual Implementation Complete Date]@row)), [Target Implementation Date]@row >= TODAY()), "In Progress", IF(AND(Status@row = "Complete", [Actual Implementation Complete Date]@row > [Target Implementation Date]@row), "Completed Past Due"))))
Hope this helps!
che
-
That works perfectly! Thanks so much for taking the time to help me solve this problem. It is greatly appreciated!
Sherry Fox
Data Science & Reporting Specialist | Information Technology
United HealthCare Services (UHS)
EAP | Mobilizer | Automagician | Superstar | Community Champion
https://www.linkedin.com/in/sherryfox/
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!