Apply a formula in a Status column only for the Parent rows.
I've been struggling with this a little bit.
I want to pick the status with the dropdown options only for the rows without children and pick the status of the parent rows based on that selection.
I have this formula: =IF(Ancestors@row = "True", IF(COUNTIF(CHILDREN(), "Not Started") = COUNT(CHILDREN()), "Not Started", IF(COUNTIF(CHILDREN(), "In Process") = COUNT(CHILDREN()), "In Process", IF(COUNTIF(CHILDREN(), "Completed") = COUNT(CHILDREN()), "Completed", IF(COUNTIF(CHILDREN(), "Not Required") = COUNT(CHILDREN()), "Not Required", IF(COUNTIF(CHILDREN(), "Upcoming") = COUNT(CHILDREN()), "Upcoming", IF(COUNTIF(CHILDREN(), "Completed") + COUNTIF(CHILDREN(), "Not started") = COUNT(CHILDREN()), "In Process", IF(COUNTIF(CHILDREN(), "Completed") + COUNTIF(CHILDREN(), "Not required") = COUNT(CHILDREN()), "Completed", IF(COUNTIF(CHILDREN(), "In Progress") > 0, "In Process", "In Process")))))))))..
However, if I convert this to a column formula, I am not able to display the dropdown menu for the children rows.
In summary, rows that are Parent 1 should have the formula, rows that are Parent 2 should have the formula ONLY if they have children
I also tried using this formula with AND OR conditions, but I had a syntax error:
=IF(OR(AND(Parent@row = "2", Children@row > 0), Parent@row = "2"), IF(COUNTIF(CHILDREN(), "Not Started") = COUNT(CHILDREN()), "Not Started", IF(COUNTIF(CHILDREN(), "In Process") = COUNT(CHILDREN()), "In Process", IF(COUNTIF(CHILDREN(), "Completed") = COUNT(CHILDREN()), "Completed", IF(COUNTIF(CHILDREN(), "Not Required") = COUNT(CHILDREN()), "Not Required", IF(COUNTIF(CHILDREN(), "Upcoming") = COUNT(CHILDREN()), "Upcoming", IF(COUNTIF(CHILDREN(), "Completed") + COUNTIF(CHILDREN(), "Not started") = COUNT(CHILDREN()), "In Process", IF(COUNTIF(CHILDREN(), "Completed") + COUNTIF(CHILDREN(), "Not required") = COUNT(CHILDREN()), "Completed", IF(COUNTIF(CHILDREN(), "In Progress") > 0, "In Process", "In Process")))))))))
Answers
-
You would have to manually enter the formula into each of the parent rows.
-
😢 Thank you
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!