ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   countif in a subtotal function (https://www.excelbanter.com/excel-discussion-misc-queries/195625-countif-subtotal-function.html)

rexmann

countif in a subtotal function
 
Hi All

I am using the Subtotal function, is it possible to use the subtotal
function but to perform a countIF or equally any other alternative?

I am filtering and need the countIF and can't find a work around

Any help greatly appreciated

Kind regards

Rexmann

Bob Phillips[_3_]

countif in a subtotal function
 
Here is an example

=SUMPRODUCT(SUBTOTAL(3,OFFSET(C1,ROW($C$2:$C$20)-ROW($C$1),,1)),--($C$2:$C$20="Assigned"))

--
__________________________________
HTH

Bob

"rexmann" wrote in message
...
Hi All

I am using the Subtotal function, is it possible to use the subtotal
function but to perform a countIF or equally any other alternative?

I am filtering and need the countIF and can't find a work around

Any help greatly appreciated

Kind regards

Rexmann





All times are GMT +1. The time now is 05:11 PM.

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