I created the following formula to count data in visible rows only (when auto filter is enabled). It worked great and the subtotal was dynamic.
=SUBTOTAL(102,A1:A10)
Then, I wanted to add a condition and created the following array formula:
{=COUNT(IF(A1:A10>25%,SUBTOTAL(102,A1:A10)))}
This formula had to be entered using control-shift-enter and it worked – but it was not dynamic and DID NOT adjust for the visible rows only when I filtered using the auto filter function.
Help!
I need a subtotal formula, that allows one condition, and will be dynamic and count only the visible rows when using auto filter. I’ve seen some reference on the Internet to use of the offset function to trick XL into doing this – but have not been able to create a formula to make that work either.
Thanks!
=SUBTOTAL(102,A1:A10)
Then, I wanted to add a condition and created the following array formula:
{=COUNT(IF(A1:A10>25%,SUBTOTAL(102,A1:A10)))}
This formula had to be entered using control-shift-enter and it worked – but it was not dynamic and DID NOT adjust for the visible rows only when I filtered using the auto filter function.
Help!
I need a subtotal formula, that allows one condition, and will be dynamic and count only the visible rows when using auto filter. I’ve seen some reference on the Internet to use of the offset function to trick XL into doing this – but have not been able to create a formula to make that work either.
Thanks!