RYGG ball formula issue
Hi,
I am having a slight issue with a formula that I have set up to automatically select red, yellow, green, gray ball based on programme start dates, finish date, % planned and % complete.
The formula for % Planned is =IF(ISBLANK(Level@row), IF(TODAY() > Finish@row, 1, IF(TODAY() < Start@row, 0, ((NETWORKDAY(Start@row, TODAY()) / (NETWORKDAY(Start@row, Finish@row)))))), IFERROR(AVGW(CHILDREN(), CHILDREN(Duration@row)), 0))
The formula for the RYGG is =IF([% Planned]@row <= [% Complete]@row, "Green", IF([% Planned]@row <= [% Complete]@row + 0.03, "Yellow", "Red"))
% Complete is a manual entry column.
The problem that I am having is that depending on the timeframe, the % Planned formula calculates a number with decimal values. See below snip showing the cells with decimal places shown.
Seeing as the %Complete column is manual input, our project managers will be entering whole numbers, we get a false reading on the RYGG value. Is there any way to tweak the formula to take the decimal values into account, i.e. if % Planned is <=.009 then yellow?
Best Answer
-
You can wrap the formula in the % Planned column in a ROUND function and tell it to only round to 2 decimals so that your percentage doesn't have the decimals anymore.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
You can wrap the formula in the % Planned column in a ROUND function and tell it to only round to 2 decimals so that your percentage doesn't have the decimals anymore.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Hi Paul,
Thanks for the tip. I wrapped the % Planned column formula in the ROUND function and it worked perfect. Thanks you and happy new year!
=ROUND(IF(ISBLANK(Level@row), IF(TODAY() > Finish@row, 1, IF(TODAY() < Start@row, 0, ((NETWORKDAY(Start@row, TODAY()) / (NETWORKDAY(Start@row, Finish@row)))))), IFERROR(AVGW(CHILDREN(), CHILDREN(Duration@row)), 0)), 2)
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 210 Industry Talk
- 441 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 300 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!