Sample sheet uploaded below.
I want to make a simple, single sheet with a list of items that are broken up into category.
I want a separate column to show the SUMs of that category, with a sum of all the rows on top.
I can do that if I SUM(B5:B10) and SUM(B11-15), etc, but the problem is that if I have to add a row in between, I have to change the SUM logic.
Is there a way to do this dynamically? That is, have Calc adjust the SUM(B5:B10) to (B5:B11), and adjust the SUMs below it if I add a row?
by-category-list-with-sum.ods (11.7 KB)