22 May 2013
The SUBTOTAL
function is great for calculating totals on a filtered list in Excel. Unlike the SUM
function, SUBTOTAL
ignores the values in rows hidden by the filter, and can even ignore manually hidden rows, so the total includes only the visible cells.
A new function, AGGREGATE
, introduced in Excel 2010, is similar to SUBTOTAL
, and has a couple of advantages.
Full article: Sum a filtered list with AGGREGATE function