Sum of column in filtered table provides answer which includes hidden data.

If I filter a table on a column and then highlight a column the SUM field on the bottom of the screen returns the correct value.


However, if I then add a formula to sum the visible data, the value is incorrect as it includes the hidden (filtered out) values.

Posted on Jan 31, 2019 11:05 AM

Reply

Similar questions

4 replies

Jan 31, 2019 11:16 PM in response to jlesnickjr

Adding to what SG has said…


When you filter a table, the visible rows are controlled by the value in a specific column. Use that column as the test-values and the filter value as condition in your SUMIF formula.


Example: You have a table which you have filtered to show only rows where column B contains "gyro".

You want to sum the values in the visible cells of column G.


Your SUMIF formula will look like this:


Syntax:     SUMIF(test-values,condition,sum-values)


Formula: SUMIF(B,"gyro",G)


Regards,

Barry

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.

Sum of column in filtered table provides answer which includes hidden data.

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