How to use Subtotal commend in Numbers?

I have read previous conversations on this subject. My question is simpler, if I use filter in my sheet then how do I get the subtotal of the filtered row / column without having a subtotal command?


MacBook Pro 13″, macOS 10.13

Posted on Sep 5, 2020 6:38 AM

Reply
7 replies

Sep 5, 2020 6:50 AM in response to ArchitLohia

Let's say you have a table like this:

You can use the Categories feature of Numbers like this:


Open the "Organize" Panel on the right while the table is active



Then click the slider to enable categories:


Now select the cell in the same column as the values you want a subtotal for (This should reveal a "sprocket" icon):


Select the "Subtotal" option from the sprocket menu




Use the expose triangle to hide or reveal the details for each category

Sep 5, 2020 6:56 AM in response to ArchitLohia

What do you mean by "subtotal command"? Are you referring to Categories, as in this 'Categories' template at File > New in your menu?



If you filter on a row this will still give you the subtotals for the entire dataset.


One way to get subtotals for a filtered dataset is to use SUMIFS.


Say you want to filter on TRUE here and get filtered subtotals for Andy and Chloe. You could do something like this:




=SUMIFS(Amount,Table 1::Name,A2,Include,TRUE)


(Substitute ; for , in the formula if your region uses , as a decimal separator)


Or you can get the same result without a formula by adding two categories in the right sidebar like this:





SG

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to use Subtotal commend in Numbers?

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