Google Sheets – How to Sum Only Visible Cells

google sheets

As per question title, how to sum only the visible cells on Google Spreadsheets?

Best Answer

I found the solution, to use the SUBTOTAL function and using 109 as its first argument.

For instance:

=SUBTOTAL(109;B2:B11)

will sum the only shown values in the B2:B11 interval.