#### Welcome to the Smartsheet Forum Archives

The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.

# RYG Roll-up

Options
edited 12/09/19

Hello,

I am trying to create a formula that shows a green ball only if all children have a green ball.

Thanks.

Tags:

• ✭✭✭✭✭✭
Options

if(countif(A1:A10,"Green")=10,"Green")

So A1:A10 would be the range you are looking at. and 10 is the number of cells in that range. Replace with your number and columns and you should be good to go.

• Options

=IF(AND(COUNTIF(CHILDREN([Column4]5), "Yellow") = 0, COUNTIF(CHILDREN([Column4]5), "Red") = 0), "Green", "Red")

Formula assumes you are using 3 colors RYG. So that, if you have a yellow or red ball within the children rows, it turns parent row into red.

If you are using other color options as well (grey, blue etc) just simply add them to AND section of the formula.

This discussion has been closed.