I am using 2000 so can't test this, but starting with 2003 (I believe) you
can also filter hidden rows not hidden by filtering by adding to whatever
number you are using in the subtotal formula. i.e.
=SUBTOTAL(9,range)
would become
=SUBTOTAL(109,range)
For your information, in XL2003 you can use sub-total with any hidden
rows, as well as those hidden with filter.
You just use 100 added to the normal Subtotal parameter e.g
=SUBTOTAL(109,A5:A1000) as opposed to =SUBTOTAL(9,A5:A1000)