Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Handling data in Numbers

I have table with several columns. I want to categorize this data and the filter some lines (not have them included). So I use Categories, which works fine. I then filter the data per my needs. Also works fine after a couple of tries.

but then I want to summarize the remaining data. So I try the feature in Categories with sub-totals. It gives me a total but quickly I realize that it is not the value corresponding to the sum of the values I see in my table (after filtering). So I do a quick test and use the function SUM and mark all the lines in my table. The I get a different value which still is not the correct sum of lol the remaining lines.

can this be true? Or is it a bug?

and if not a bug, what is the explanation?

nd how do I perform this simple (?) task in filtering values and summarizing the remaining ones?

iPad Pro 11-inch Wi-Fi

Posted on Oct 25, 2020 2:58 AM

Reply
Question marked as Best reply

Posted on Oct 25, 2020 12:56 PM

Design choice and compatibility with other spreadsheet apps. Hiding a row may remove it from view but does not remove it from the table. If a function includes a hidden cell, it uses the hidden cell.


Coincidentally, I was just researching Excel's AGGREGATE function yesterday for a different question (I had never heard of it before) and this is one of the things it allows you to do: ignore data in hidden rows. It is not available in Numbers.


Regarding your SUM not coming out to what you expect, is it possible that there are rows before 130 and/or after 349 that are being included in the Category total but not your SUM? Your SUM only includes 130 through 349.

6 replies
Question marked as Best reply

Oct 25, 2020 12:56 PM in response to JonasWaterman

Design choice and compatibility with other spreadsheet apps. Hiding a row may remove it from view but does not remove it from the table. If a function includes a hidden cell, it uses the hidden cell.


Coincidentally, I was just researching Excel's AGGREGATE function yesterday for a different question (I had never heard of it before) and this is one of the things it allows you to do: ignore data in hidden rows. It is not available in Numbers.


Regarding your SUM not coming out to what you expect, is it possible that there are rows before 130 and/or after 349 that are being included in the Category total but not your SUM? Your SUM only includes 130 through 349.

Oct 25, 2020 5:02 AM in response to Yellowbox


ok, so this is an example of a table without the filters and categories. If I add a Category for Type A I will get two sections; one with Yes values and one with No values. Then if I filter on Type C, Green I will not see any other values besides the lines with Green. All good! But if I then add sub-totals to my Category it will show 104 for the Category Yes filtered on Green. But that is not the value I am looking for. I thought that it would give me the total of the two lines corresponding to Yes and Green (which is 10 and 11).

I hope this explains better.

Handling data in Numbers

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