Formula for subtracting child rows from parent total
Cathy Betzer
✭✭✭✭
I need help with a formula where I have a funding total in one column, a second column with Invoice amounts. The invoice rows are children of the top level "funding total" row. I tried the following:
=SUM([Funding Total]@row) - SUM([Invoice Amount](CHILDREN())) Example of it not working:
I can do this formula dealing with a range but it does not deal with the hierarchy especially if I add a new invoice/row: =SUM([Funding Total]@row) - SUM([Invoice Amount]83:[Invoice Amount]86)
Your suggestions are welcome. (note: parent and child relationships have been established)
Best Answer
-
Try this:
=[Funding Total]@row - SUM(CHILDREN([Invoice Amount]@row))
Answers
-
Try this:
=[Funding Total]@row - SUM(CHILDREN([Invoice Amount]@row))
-
You are amazing. Thank you.
-
Help Article Resources
Categories
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!