RYG Formula Based on Checkbox

Options
✭✭✭✭✭✭

Smartsheet Community:

I need a little help with this Formula:

=IF(Done@row = 1, "Green", IF(Done@row <> 1 "Grey", "Red")

I would like to have the row turn Grey if None of the Children Checkbox are Checked, but if one is Checked the Parent is Red until all Children are Check-boxes are Checked.

Does anyone have that formula?

Thanks

• ✭✭✭✭✭✭
Options

Results Came Back UNPARASEABLE

Here is the Exact Formula:

=IF(COUNTIFS(DESCENDANTS([Done]@row), 1) = 0, "Grey", IF(COUNTIFS(DESCENDANTS([Done]@row), 1) <> COUNT(DESCENDANTS()), "Red", "Green")))

• ✭✭✭✭✭✭
Options

Point of clarification: I want to Keep the Green if all the Children / DESCENDANTS boxes are checked

• ✭✭✭✭✭✭
edited 02/25/20
Options

Try something like this...

=IF(COUNTIFS(DESCENDANTS([Checkbox Column]@row), 1) = 0, "Grey", IF(COUNTIFS(DESCENDANTS([Checkbox Column]@row), 1) <> COUNT(DESCENDANTS()), "Red", "Green"))

• ✭✭✭✭✭✭
Options

Results Came Back UNPARASEABLE

Here is the Exact Formula:

=IF(COUNTIFS(DESCENDANTS([Done]@row), 1) = 0, "Grey", IF(COUNTIFS(DESCENDANTS([Done]@row), 1) <> COUNT(DESCENDANTS()), "Red", "Green")))

• ✭✭✭✭✭✭
Options

I found the problem. I had an additional Parenthesis at the end.

Thanks

• ✭✭✭✭✭✭
Options

Happy to help! 👍️

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!