Functions applied to filtered cells

D

Debra Dalgleish

I don't see your screen shot, but you can use the SUMPRODUCT function to
calculate visible cells after a filter has been applied. For example,
=SUMPRODUCT(9,A2:A50) will sum the visible cells.

Check Excel's online help for other function numbers that you can use
instead of 9.
 
X

xadamz23

Debra,

What does the number 9 in your formula reference? Also, say I had
numbers in cells D2 through D200. I apply a filter so only some of
those cells are visible. would i use a formula like
=SUMPRODUCT(9,D2:D200) to sum only the visible cells?
(or =SUBTOTAL as Don points out)

Thanks again for all of your help
 
X

xadamz23

Nevermind guys. I used Excel's help and figured it out. Thanks Debra
and Don. The =SUBTOTAL(9,A2:A25) formula works just like I want it
to.

Thanks again!!
 
D

Debra Dalgleish

Oops! Thanks Don.

For example, =SUBTOTAL(9,A2:A50) will sum the visible cells.
 

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