Duration Minus Lag

Is there a way to have the parent row in the duration column provide a summary of only the working time. For example, in the parent cell below i would like it to provide 2 hours (or 0.125d) instead of 1.123d since the total duration for the children rows are 1 hour each.

My current workaround is creating an extra column that uses the following formula:

=IF(SUM(CHILDREN(Duration@row)) = 0, (ROUND(Duration@row * 8, 1)), ROUND(SUM(CHILDREN(Duration@row)) * 8, 1))

This formula works well for the most part but stumbles when there is a second layer of children.


Answers