RYG formula for indicating expense vs. budget
Hi,
I am trying to use RYG balls to indicate how much remains in a budget (red indicates 90% spent, Yellow indicates 75% spent) Using this formula, I get green and yellow, but I can't seem to get red, even though there are expense/budget over 90%
=IF(Charged14 / [Budget Allocated]14 > 0.75, "Yellow", IF(Charged14 / [Budget Allocated]14 < 0.75, "Green", IF(Charged14 / [Budget Allocated]14 > 0.9, "Red")))
Any tips? Is there a better way of doing this?
Thank you!
Best Answer
-
Try putting your red as the first argument. Nested IF's work from left to right and stop at the first true value. Since 91% is greater than 75%, it flags the yellow argument as true and stops.
Answers
-
Try putting your red as the first argument. Nested IF's work from left to right and stop at the first true value. Since 91% is greater than 75%, it flags the yellow argument as true and stops.
-
Paul to my rescue, again! That worked, thank you!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!