How to sum multiple sums in different cells?

So I have a budget set up like this all in one column:


HOUSING

Rent 1000

Lawn 40


TOTAL 1040


BILLS

Electric. 187

Water 135


TOTAL. 322


END OF SHEET TOTAL : ?


How do I total just the totals, to get a number of 1362? I know I could just take the subtotals out and do the whole column, but I want it broken down.


Additionally, since i have other columns set up to the right of column A, for alternate bills, irregular bills etc, I"d like to be able to add the totals of those horizontally as well. So:


COLUMN A COLUMN B. COLUMN C. TOTAL

TOTAL 1362. 514 127. ?



How do I do this? Thanks in advance. (Also, I selected the ipad out of habit, but this is actually the web version on a Macbook).

iPad

Posted on Apr 2, 2025 7:42 AM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Apr 2, 2025 10:46 AM

I'm going to go out on a limb here and suggest you're doing it wrong :)


I'll start with the statement:


> ... all in one column


That's a recipe for disaster as far as spreadsheets are concerned.


It is impossible to add "Rent 1000" and "Lawn 40" and come up with any sane answer.


At the very least these should be in two columns, for example 'Description' and 'Cost':



Now it's easy to add up the values.


Ideally, the Category should be in a separate column, too. That will make the rest of your ask a cinch.

For completeness, you might also add a date column - that makes it trivial to get a breakdown by month which will let you see trends, outliers, etc.

Numbers will do all the heavy lifting for you, but you have to play by its rules and give it the data to work with.


For an example, here's an extension of the above table with those extras added:



It doesn't look like much yet, but now you have two options - Categorization, and Pivot Table.


With Categorization you tell Numbers how you want to logically group the data, and it's controlled via the Organize -> Categories Inspector:



For example, if you want to break down the data by Category, tell Numbers that's what you want:


almost instant gratification.


Note there's no subtotal by default - to add this, just click on the Cost field in any header row and tell Numbers what summary you want to see - in this case, SUM:



Or maybe you want a month-centric view to see your expenses by month - just change the Category to the Date field:



You can even add multiple categorizations if you want to break out by category and date, for example.



So many ways to slice and dice your data.


The nice thing about Categories is that it's dynamic - you can switch it on and off at will, and it always shows real-time data based on whatever's in your table. Typically you might turn it off when you're entering data, then turn it on to see how it breaks down.


The alternative model is a Pivot Table. This add an extra level of functionality (and complexity, to be fair), but allows for a two-dimensional view of your data with any combination of category, description and cost in either rows or columns.


For example, if I want a table showing category by month, I might set it up like:



Or maybe I want to see the individual expenses, so I add the Description field to the Rows:


There are pros and cons to each approach. Pivot Tables will automatically add subtotals for each row/column, and sometimes it's easier for two dimensional data (e.g. categories and dates, such as we have here), but Pivot Tables work on a snapshot of your data - they don't update automtically due to the overhead of working out all the permutations and combinations, so you need to click the Refresh icon (at the top of the Inspector) to reflect the latest data in your main table.

7 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Apr 2, 2025 10:46 AM in response to D5543

I'm going to go out on a limb here and suggest you're doing it wrong :)


I'll start with the statement:


> ... all in one column


That's a recipe for disaster as far as spreadsheets are concerned.


It is impossible to add "Rent 1000" and "Lawn 40" and come up with any sane answer.


At the very least these should be in two columns, for example 'Description' and 'Cost':



Now it's easy to add up the values.


Ideally, the Category should be in a separate column, too. That will make the rest of your ask a cinch.

For completeness, you might also add a date column - that makes it trivial to get a breakdown by month which will let you see trends, outliers, etc.

Numbers will do all the heavy lifting for you, but you have to play by its rules and give it the data to work with.


For an example, here's an extension of the above table with those extras added:



It doesn't look like much yet, but now you have two options - Categorization, and Pivot Table.


With Categorization you tell Numbers how you want to logically group the data, and it's controlled via the Organize -> Categories Inspector:



For example, if you want to break down the data by Category, tell Numbers that's what you want:


almost instant gratification.


Note there's no subtotal by default - to add this, just click on the Cost field in any header row and tell Numbers what summary you want to see - in this case, SUM:



Or maybe you want a month-centric view to see your expenses by month - just change the Category to the Date field:



You can even add multiple categorizations if you want to break out by category and date, for example.



So many ways to slice and dice your data.


The nice thing about Categories is that it's dynamic - you can switch it on and off at will, and it always shows real-time data based on whatever's in your table. Typically you might turn it off when you're entering data, then turn it on to see how it breaks down.


The alternative model is a Pivot Table. This add an extra level of functionality (and complexity, to be fair), but allows for a two-dimensional view of your data with any combination of category, description and cost in either rows or columns.


For example, if I want a table showing category by month, I might set it up like:



Or maybe I want to see the individual expenses, so I add the Description field to the Rows:


There are pros and cons to each approach. Pivot Tables will automatically add subtotals for each row/column, and sometimes it's easier for two dimensional data (e.g. categories and dates, such as we have here), but Pivot Tables work on a snapshot of your data - they don't update automtically due to the overhead of working out all the permutations and combinations, so you need to click the Refresh icon (at the top of the Inspector) to reflect the latest data in your main table.

Reply

Apr 2, 2025 11:05 AM in response to D5543

Rather than fussing with formulas you also have the option of seeing your data in all sorts of ways with just a few clicks and drags, taking advantage of powerful features in Numbers that can save you a lot of time. Pivot Tables much easier and quicker than formulas.




They save you even more time if you want to track what is happening over more than one month. They split your data by time period automatically.





Setting one up takes about a minute.


  1. Click in the table with data in columns.
  2. Choose Organize > Create Pivot Table > On Current Sheet
  3. Drag fields in 'Pivot Options' pane at the right down into the boxes below.


Intro to pivot tables in Numbers on Mac - Apple Support


And experiment by re-dragging the fields into other boxes.


If you need to "pretty up" the final result to show to someone else, just select the cells in the Pivot Table, command-c to copy, click in the cell of a "regular table" and command-v to paste, then format as you normally would.


SG




Reply

Apr 2, 2025 9:40 AM in response to D5543

There are at least two ways.


1) Instead of using SUM for the two totals and the final result, use SUBTOTAL(9, range). For the first two, the range will be the same you used in the SUM. The last one will be the full range of the data. It will not include rows that have SUBTOTAL in them.


2) Leave the first two sums as they are and use SUMIF for the final sum. If the left column is A2:A20 and the numbers are in B2:B20. The final sum will be =SUMIF(A2:A20, "<>total", B2:B20) . This sums up all rows that do not have the word "total" (as the only text in the cell) in column A.

Reply

Apr 3, 2025 8:53 AM in response to D5543

Thank you so much everyone! I removed the sections and put in a category. That is SO much more workable. For now, although I'll probably build it out more later with a more complicated table. You all have saved my sanity and saved me so much time and frustration. Thank you thank you thank you for your guidance!!!!

Reply

How to sum multiple sums in different cells?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.