Subtotal on SumIf

G

Guest

Can you use subtotal on a sumif or maybe some other method so when data is
filtered it calculates correctly. I have tried many things but cannot make
it work.
 
G

Guest

here is a method

=SUMPRODUCT(--($A$2:$A$100>5),--(SUBTOTAL(3,OFFSET($A$2,ROW($A$2:$A$100)-MIN(ROW($A$2:$A$100)),,))),$A$2:$A$100)

this will sum all visible entries in A2:A100 that are greater than 5
where for instance column B could have been filtered



Regards,

Peo Sjoblom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top