Returns a subtotal in a list or database.
Diese Funktion funktioniert in Google Sheets genauso wie in Excel — gleiche Syntax und Argumente.
SUBTOTAL(function_num, ref1, …)The SUBTOTAL function is unique because it can ignore hidden rows and nested subtotals. It uses a function number to determine which calculation to perform, such as SUM, AVERAGE, or COUNT.
=SUBTOTAL(9, A1:A10)Ergebnis: 500
Calculates the sum of cells A1 through A10, ignoring any other subtotals within that range.
9 includes hidden rows in the calculation, while 109 ignores rows that are manually hidden.