RYG Formula Average
Comments
-
Hi Frank,
Yes, it is. You'd need to decide on the rules for when it should be R,, Y or G.
What are your criteria?
Hope that helps!
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
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.
-
The end users decided an selects based on the task if it is red-at risk, green - on track, yellow in between on track and at risk. Some fields might be blank if it is not filled in but we would like to take the average of the colors and assign the overall status. I hope this makes sense.
-
Try something like this.
Add the formula to all parents in the status column.
=IF(AND(COUNTIF(CHILDREN(); "Green") > COUNTIF(CHILDREN(); "Yellow"); COUNTIF(CHILDREN(); "Green") > COUNTIF(CHILDREN(); "Red")); "Green"; IF(AND(COUNTIF(CHILDREN(); "Red") > COUNTIF(CHILDREN(); "Green"); COUNTIF(CHILDREN(); "Red") > COUNTIF(CHILDREN(); "Yellow")); "Red"; "Yellow"))
The same version but with the below changes for your and others convenience.
=IF(AND(COUNTIF(CHILDREN(), "Green") > COUNTIF(CHILDREN(), "Yellow"), COUNTIF(CHILDREN(), "Green") > COUNTIF(CHILDREN(), "Red")), "Green", IF(AND(COUNTIF(CHILDREN(), "Red") > COUNTIF(CHILDREN(), "Green"), COUNTIF(CHILDREN(), "Red") > COUNTIF(CHILDREN(), "Yellow")), "Red", "Yellow"))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Would that work?
Best,
Andrée
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.
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