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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives