Hey All,
I am having some difficulty getting a formula to work the way I want to here.
I want all children rows to look at the due date column and if it is overdue, mark the status as "Red". If todays date is within 3 days, mark the status as "Yellow". If todays date is over 3 days, make it as "Green". I just want these applied to the children rows, I would like the parent row of this status column to look at its children and if it has 1 "Red" status in its children, mark the parent row as "Red", if it has 1 "Yellow" status in its children, mark the parent as "Yellow", and if all its children are "Green", mark the parent as "Green".
I feel like this shouldn't be that difficult but need some fresh eyes here. I know the below is way off but this is what I was trying before:
=IF(COUNT(CHILDREN([Task Name]@row)) = 0, IF(AND([Due Date]@row > TODAY(), "Red", IF(COUNT(CHILDREN([Task Name]@row)) = 0, IF(AND([Due Date]@row >= (TODAY() - 3), "Yellow", "Green") IF(COUNTIF(CHILDREN(), "Green") = COUNT(CHILDREN()), "Green", IF(COUNTIF(CHILDREN(), "Red") > 0, "Red", "Yellow", )))))
How I am hoping the formula would look like: