only count designated rows

G

Gerald

I have a spreadsheet that I have hidden some rows because of the size. I
would like to only get the sum of the rows that are not hidden. It seems when
I do the sum function it is counting all the rows including the hidden rows.
Please advise, thanks.
 
K

KC

If you have a field that always has data in it, you could use this in a
different cell:

=subtotal(3,a2:a9999)

=Subtotal() won't count rows hidden by that autofilter.

-kc
 

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