I have a parent row that I'm using to sum all child row values where Children = 0 and Status = "Not Started". This is my formula.
=IF(OR(ISBLANK(Status@row ), Hierarchy@row = 0), "", IF(Hierarchy@row = 1, SUM(CHILDREN()), IF(AND(Children@row = 0, Status@row = "Not Started"), 1, 0)))
However, if any of my task rows are indented, where that row is no longer a child, but a parent of other child tasks, the SUM breaks and doesn't calculate the correct number.
Once I remove the indent and all the rows are Children = 0 again, the SUM works, like below.
I need to know how I can sum all Children = 0 rows where they have a 1. I don't want to count any indented parent rows. Only the lowest level child tasks. Any suggestions?