Total expenses for each sub account

I’m wanting include total expense balance next each sub account. What is the formula? Don’t want it by each expense account. Just the total of all expenses

Hi!

I recorded a short video to show how to do this: https://www.loom.com/share/660f02da84474f578e9501a52d0ff119?from_recorder=1&focus_title=1

The file I built is attached to this message – see Option 1 and Option 2 tab for reference.

Expense balance by subaccount.xlsx (141 KB)