ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Combining SUMIF and SUBTOTAL functions (https://www.excelbanter.com/excel-worksheet-functions/23137-combining-sumif-subtotal-functions.html)

[email protected]

Combining SUMIF and SUBTOTAL functions
 
Is there a way to combined these two functions in one formula? Summing only
the values filtered?

Arvi Laanemets

Hi

=SUBTOTAL(9,YourRange)
sums filtered values

=SUBTOTAL(1,YourRange)
calculates an average of filtered values

=SUBTOTAL(2,YourRange)
counts filtered numeric values (an equivalent of COUNT)

=SUBTOTAL(3,YourRange)
counts all filtered values (an equivalent of COUNTA)
etc.

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


" wrote in
message ...
Is there a way to combined these two functions in one formula? Summing

only
the values filtered?





All times are GMT +1. The time now is 03:31 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com