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
- 63K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives