Hi Smartsheets Community,
I need some help with a formula that I am stuck on. Below is a screen shot of grandparent to parent, to child hierarchy. Grandparent is in yellow, parent is in blue, and child is not highlighted. I put
I am using the following formula to add a check mark on the parent row when all of the children under each parent are all check and when all of the parent rows are checked, then it adds a check mark to the grandparent row. This formula appears to be working.
=IF((COUNT(CHILDREN([Dealer Name]@row))) > 0, IF(COUNT(CHILDREN([Dealer Name]@row)) = COUNTIFS(CHILDREN(), 1), 1))
Next, I am using the formula below to change the Stage Status as follows, but something is not working correctly
- When any of the children under a parent row are checked the stage status changes to "Complete"
- When any of the children are check, I want the parent to show "In Progress"
- When any of the parent rows are showing "In Progress", I want the grandparent row to show "In Progress"
- When all of the children under a parent are checked off, I want the parent row to show "Complete"
- When all of the parent rows are check and the stage status for all parents shows "Complete" I want the grandparent to change to "Complete"
What am I doing wrong? Any help would be greatly appreciated. Formula to check a parent checkbox when any child is complete & formula to complete a parent status
=IF(COUNTIFS(CHILDREN(), @cell = "Complete") = COUNT(CHILDREN()), "Complete", IF(COUNTIFS(CHILDREN(), @cell = "Not Started") = COUNT(CHILDREN()), "Not Started", "In Progress"))