Possible to have a (single) parent category that sums subcategory sums?
I have a sheet with categories (each Summary row is a type of dietary supplement (e.g., "B complex")), and a column with a (currency-formatted) cel that displays a "Summary" of "Sum", which is the sum of the numbers ("TOTAL cost / day") in the (numbered/actual) rows (in one of my screenshots, that cel has a green background). This works fine:
B complex [category] Total [currency format] Sum (summary) of "TOTAL cost / day" e.g., $0.33
Thiamin [row] Cost [currency format] [cel] e.g., $0.33
Riboflavin [row] Cost (currency format) [cel] e.g., $0.
(Note: I sometimes have more than row per category with different ingredients in a given supplement, but only list "Cost" in the first row to track the daily cost of the supplement. The reason for multiple rows is to track daily amounts taken of each supplement's ingredients, but I'm not trying to somehow track the cost of each ingredient.)
I want to then have a single cel (in the sheet) that sums all those sums.
OPTION 1 (Use subcategories)
From Numbers help: "A table can have one main category and up to four subcategories to create a hierarchy for your data. You can change this hierarchy, rename or delete categories, and more."
I tried selecting "Add Category" from the toolbar and selecting the column: "TOTAL cost / day", and that makes the new category, and also sub groups rows which have $0.00 together, and then the one row with the actual cost, which I don't want. However even if that weren't a problem, it still doesn't solve having a single parent category for "TOTAL cost / day" listing the sum of all of the subcategory "TOTAL cost / day" sums.
B complex [parent category]
$0.33 [subcategory]
B complex - Thiamin [row] TOTAL cost / day $0.33
What I want to do (if possible) is to have a sum of all "TOTAL cost / day" amounts.
TOTAL cost / day [parent category] (e.g., $0.54)
B complex [subcategory]
B complex - Thiamin [row] - TOTAL cost / day [cel] (e.g., $0.33)
Vitamin D3 & K2
Vitamin D3 & K2 - D3 - TOTAL cost / day (e.g., $0.21)
Also, if I can do that, how do I nest the subcategories under the (one) parent category 'row'?
"If your table contains subcategories, you can move a category up or down one or more levels to reorganize your data. For example, if you have a table that categorizes shirt sales by sale date and then by order status, you could reorganize to categorize by order status first and then by sale date.
In the Organize sidebar, click Categories.
Drag the Drag button up or down next to the category you want to move."
However when I do that, I see no way of creating just one "TOTAL cost / day" parent category 'row'.
Do I need to start from scratch with a new sheet, creating the (one) parent category, create a placeholder subcategory, and then somehow copy and paste the current categories from the initial sheet into that subcategory 'space'?
OPTION 2 (Use a separate sheet for the sum calculation.)
This doesn't appeal to me because I'd like to see the 'Sum of sums' on the same sheet, but this method does work. The cel on the summary sheet's value is: SUM('TOTAL cost / day'), i.e., the column. I'm going to use this method for now, and then see if I can get subcategories to work.
MacBook Pro 14″