Formula to update status on a parent row based on child row with OR statement

Hi - I need a formula to update the status on the parent row based on status values in the child rows below.  I am wresting with this formula and hoping someone on here can point me in the right direction.  I found this post which is exactly what I'm looking for but there was never an answer to her last comment about needing to add the logic if "all children are any of those 3 status's then Completed." which is the part I'm struggling with.

https://community.smartsheet.com/discussion/formula-update-status-parent-row-based-any-child-row

The four statuses are:

- Not Started

- In Progress

- Completed

- Cancelled

So here's the logic for populating the parent's status (I think I got it all, let me know if I missed anything!):

- If all children are Not Started, the parent is Not Started

- If all children are In Progress, the parent is In Progress

- If all children are Completed, the parent is Completed

- If all children are Cancelled, the parent is Cancelled

- If all children are Completed OR Cancelled, the parent is Completed

- If one child is In Progress, the parent is In Progress

 

Many thanks!

 

Tags:
«1

Comments

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!