When Subitems are marked Complete, Overall Status is Complete

Is there a way for an overall status to be marked as complete once the item’s subitems are all marked complete?

You can do it via the first automatization suggested within the subitem section I think

Thank you for your help!