Update parent value if all children are a specific value, leave alone otherwise
I'd like to update the main parent row cell to "Complete" if all the children are also set to "Complete". Otherwise, I'd like the parent row cell to just be left alone (it will be blank until everything else is "Complete)".
I can make this happen based on the other statuses the children show by using a bunch of COUNTIFS expressions, but I'm trying to see if I can simplify this with something like this: "IF(AllChildren = "Complete", "Complete").
This is an example formula that does what I want but goes through all combinations of the childrens' statuses and is long and clumsy (I think): =IF(Status@row = "Complete", "Blue", IF(COUNTIFS(Health2:Health74, "Red") > 0, "Red", IF(COUNTIFS(Health2:Health74, "Yellow") > 0, "Yellow", IF(COUNTIFS(Health2:Health74, "Green") > 0, "Green"))))
Thank you!
Answers
-
Try this:
=IF(COUNTIFS(CHILDREN(), @cell <> "Complete") = 0, "Complete")
Help Article Resources
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
Check out the Formula Handbook template!