I am using a sheet to track many different projects, some of which have milestone subrows, some which do not. I want to be able to filter out projects that have been fully completed (either no child rows and status = completed OR all child rows = completed and parent status = completed) but show the milestone subrows for projects that are ongoing regardless of the subrow's status.
I cannot use the sheet filter function since you cannot have both and + or conditions. Instead, I am trying to create a helper column to evaluate if a row is "active".
I want to have the following rows marked as ACTIVE:
If it is a row with Child Rows = 0 and Status = "In Progress" or "Preparing"
If is a row with an ancestor and the ANCESTOR's Status = "In Progress" or "Preparing"
marked as INACTIVE:
If it is a row with Child Rows = 0 and Status = "Paused" or "Cancelled"
If it is a row with an ancestor and the ANCESTOR's Status = "Paused" or "Cancelled"
marked as COMPLETED:
If it is a row with Child Rows = 0 and Status = "Completed"
If is a row with an ancestor and the ANCESTOR's Status = "Completed"