Assessing a Project's health based on % complete against % of time passed in activity du
I am looking how to enter a formula in SmartSheet that works for me in excel. I want to get a 'proactive warning" if a project is not tracking well to when it needs to be completed.
If TODAY() is 60% through the allocated time for an activity but my pecent complete is actually 25% less than 60% , then I get a RED. If I am 25% to 0% less than the 60%, then YELLOW. If my % complete is ahead of TODAY()'s straightline use of allocated time, then GREEN.
Here is what I tried but I get an Error in Smartsheet: I get an UNPARSEABLE error.
=IF(IF(TODAY()>[ECD]@row,100%,(TODAY()-[Start Date]@row)/(ECD]@row-[Start Date]@row))-[% Complete]@row>=25%,"RED",IF(AND(IF(TODAY()>ECD]@row,100%,(TODAY()-[Start Date]@row)/(ECD]@row-[Start Date]@row))-[% Complete]@row<25%,IF(TODAY()>ECD]@row,100%,(TODAY()-[Start Date]@row)/(ECD]@row-[Start Date]@row))-[% Complete]@row>0),"YELLOW",IF(IF(TODAY()>ECD]@row,100%,(TODAY()-[Start Date]@row)/(ECD]@row-[Start Date]@row))-[% Complete]@row<0,"GREEN","GREEN")))
Thanks!
Best Answers
-
Try something like this instead:
=IF([% Complete]@row >= (TODAY() - [Start Date]@row) / (ECD@row - [Start Date]@row), "Green", IF([% Complete]@row - 0.25<= (TODAY() - [Start Date]@row) / (ECD@row - [Start Date]@row), "Red", "Yellow"))
-
You need to adjust your quotes. See how yours are slanted and the rest are vertical? The slanted ones are called "Smart Quotes" and (ironically enough) are not recognized as valid characters in Smartsheet formulas.
Try retyping them directly in Smartsheet, here in the Community, or in a text editor such as Notepad (not Word).
Answers
-
Try something like this instead:
=IF([% Complete]@row >= (TODAY() - [Start Date]@row) / (ECD@row - [Start Date]@row), "Green", IF([% Complete]@row - 0.25<= (TODAY() - [Start Date]@row) / (ECD@row - [Start Date]@row), "Red", "Yellow"))
-
Thanks. Let me try it out!
I think this is what I was actually looking for. I REALLY appreciate your simpler solution. I probably did not explain it as well as needed. I think this work as desired.
=IF([% Complete]@row >= (TODAY() - Start@row) / (Finish@row - Start@row), "Green", IF([% Complete]@row <= (TODAY() - Start@row) / (Finish@row - Start@row) - 0.25, "Red", "Yellow"))
-
A follow-up to this original question.
The following seems to work but if the % Complete is 100% and the Finish date is in the future, it does provide Green.
=IF([% Complete]@row >= (TODAY() - Start@row) / (Finish@row - Start@row), "Green", IF([% Complete]@row <= (TODAY() - Start@row) / (Finish@row - Start@row) - 0.25, "Red", "Yellow"))
I get an unparsable error with this one below.
=IF([% Complete]@row = 1, “Green”, IF([% Complete]@row >= (TODAY() - Start@row) / (Finish@row - Start@row), "Green", IF([% Complete]@row <= (TODAY() - Start@row) / (Finish@row - Start@row) - 0.25, "Red", "Yellow"))
-
You need to adjust your quotes. See how yours are slanted and the rest are vertical? The slanted ones are called "Smart Quotes" and (ironically enough) are not recognized as valid characters in Smartsheet formulas.
Try retyping them directly in Smartsheet, here in the Community, or in a text editor such as Notepad (not Word).
-
Thanks so much!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.8K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!