How to calculate subtotal if a row is hidden