Hi Serene ,
The SUBTOTAL function has two versions , one of which uses the numbers 1 through 11 , while the other uses the numbers 101 through 111 as the first parameter.
For example , SUBTOTAL(9,....) does a SUM of the range mentioned as the second parameter ; so does SUBTOTAL(109,....) ; the difference between the two is that if some rows within the range to be summed up are hidden , the SUBTOTAL(9,....) version will return the same result , while the SUBTOTAL(109,....) version will exclude the hidden rows.
You can try using SUBTOTAL(109,....) instead of SUBTOTAL(9,....) and see.
Narayan