Nested IF RYG
I am having a hard time with this...
I need a nested if for the following:
If percentage complete is less than 60% with three days left until due I would like it red.
If anything is past due it is red
If the percentage complete is less than 75% with two days left until due I would like it yellow.
All other green
Answers
-
try this...
=IF([Percent Complete]@row = 1, "Green", IF(Date@row < TODAY(), "RED", IF(AND(Date@row - TODAY() < 3, [Percent Complete]@row < 0.6), "Red", IF(AND(Date@row - TODAY() < 2, [Percent Complete]@row < 0.75), "Yellow", "Green"))))
I am assuming that at 100 percent no mater what it is Green.
Also, be careful of your < or <= as it can make a big difference
What I do is
- If it is 100% then Green no matter of date is in the past..
- If it is Overdue then Red, no matter what the %..
- Then Check for the percentage complete is less than 60% with three days left until due I would like it red (AND CASE)
- Then Check for the percentage complete is less than 75% with two days left until due I would like it yellow (AND CASE)
- Finally, all the rest is Green
Brent C. Wilson, P.Eng, PMP, Prince2
Facilityy Professional Services Inc.
http://www.facilityy.com
-
I tried the formula and it did not work... I tried changing the word "Percentage" to "%". and added End to End date to identify the row.. It still failed,,
-
I hope you're well and safe!
Can you share the formula you tried and maybe a screenshot of the sheet?
I hope that helps!
Be safe and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
=IF([% Complete]@row = 1,"Green", IF(End Date@row < TODAY(), "RED", IF(AND(End Date@row - TODAY() < 3,[% Complete]@row < 0.6),"Red", IF(AND(End Date@row - TODAY() < 2,[% Complete]@row < 0.75),"Yellow", "Green"))))
You have a great weekend
-
Try something like this.
=IF([% Complete]@row = 1,"Green", IF(End Date]@row < TODAY(), "RED", IF(AND(End Date]@row - TODAY() < 3,[% Complete]@row < 0.6),"Red", IF(AND(End Date]@row - TODAY() < 2,[% Complete]@row < 0.75),"Yellow", "Green")
Did that work?
✅Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up/Awesome or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Unfortunately it did not... Not sure why...
-
Strange!
I'd be happy to take a quick look.
Can you describe your process in more detail and maybe share the sheet(s)/copies of the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
I just shared it
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 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!