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
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!