Health and Status roll up from task to child to parent
My roll-up formula in my parent row is working perfectly and captures the information from its primary children rows.
=IF(COUNTIFS(CHILDREN(), "Red") > 0, "Red", IF(COUNTIFS(CHILDREN(), "Yellow") > 0, "Yellow", IF(COUNTIFS(CHILDREN(), "Green") = COUNT(CHILDREN()), "Green", IF(COUNTIFS(CHILDREN(), "Blue") = COUNT(CHILDREN()), "Blue", "Green"))))
As others have asked, it doesn't pick up changes in secondary children rows and ideally, I don't want to manually copy/paste the parent formula to each primary child. Is there a way to have a parent row reflect changes to secondary, or even tertiary, children?
Best Answer
-
=IF(COUNT(DESCENDANTS()) <> 0, original_formula)
Answers
-
Replace the CHILDREN function with the DESCENDANTS function.
-
Awesome, the parent row now picks up all the descendent information. It looks like I still have to paste the formula (with the change to descendants) into each primary child for it to roll-up the information. Is there a way to make it a column formula? Something like, if there are descendants, then use the formula; if there are no descendant, then don't do anything (i.e., leave it blank)?
-
=IF(COUNT(DESCENDANTS()) <> 0, original_formula)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!