Parent cell update based on change in children cell
Hi Guys,
Is there a formula to update the status of a parent cell based on status update of children cell. The column type is single select drop down list. Attaching a screenshot for your reference
Best Answers
-
The following formula will do that for you ( update the parent cell as 'Completed' only after all children cell are marked completed)
=IFERROR(IF(COUNTIFS(CHILDREN(), "Completed") = COUNTM(CHILDREN()), "Completed"), "")
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
You are welcome and I will be happy to help you any time.
Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful".
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Answers
-
Hi @Nethra Kumar
Hope you are fien, please try the following formula in parent level.
=IFERROR(IF(COUNTIFS(CHILDREN(), "Completed") > 0.5 * COUNTM(CHILDREN()), "Completed", IF(COUNTIFS(CHILDREN(), "In Progress") > 0.5 * COUNTM(CHILDREN()), "In Progress", IF(COUNTIFS(CHILDREN(), "Not Started") > 0.5 * COUNTM(CHILDREN()), "Not Started", ""))), "")
the following screenshot shows the result:
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Thanks for this Bassam.
But, I am looking to update the parent cell as 'Completed' only after all children cell are marked completed. Can you help me with it
-
The following formula will do that for you ( update the parent cell as 'Completed' only after all children cell are marked completed)
=IFERROR(IF(COUNTIFS(CHILDREN(), "Completed") = COUNTM(CHILDREN()), "Completed"), "")
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
thank you, Bassam. This works perfectly
-
You are welcome and I will be happy to help you any time.
Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful".
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"