Functions applied to filtered cells

  • Thread starter Thread starter xadamz23
  • Start date Start date
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.
 
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
 
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!!
 
Oops! Thanks Don.

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