AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() ![]() Notice that the range doesn’t exclude cells C4 and C9 where the other subtotals are. Now, to put a grand total on line 11, I can use the formula =SUBTOTAL(9,C1:C10). I would enter the formula =SUBTOTAL(9,C6:C8) in cell C9. Next I want another subtotal in C9 that adds up the 3 cells above it. As you would expect, the “C1:C3” designates the range of cells from C1 through C3. I would enter the formula =SUBTOTAL(9,C1:C3) in cell C4. Let’s say that I want a subtotal in cell C4 that adds up the 3 cells above it. The beauty of the SUBTOTAL function is that you can add up the whole column and it will ignore the other SUBTOTALS that finds. Another common approach is to write a formula that points to each monthly total and adds them up. But if you try to do that for the year you will end up totaling both the invoices and the monthly totals, unless you move the monthly totals to a separate column. If you have a list of invoices in Excel, and you want that list to show a total for each month and for the year, most people would use the SUM function to total each month.
0 Comments
Read More
Leave a Reply. |