Summing Filtered Rows

G

Guest

Ok, I've filtered my spreadsheet using AutoFilter and
selecting one of the availble cell contents as a criteria.
Now that I've got a table that shows only the rows that
contain my selected filter qualification for that column,
I want to sum all the numbers in ONLY the filtered
adjacent column. How can I do this? Whenever I try to sum
that column, I get sum for entire UNFILTERED column, not
just the filtered items.
Thanks!
 
J

Jason Morin

Use SUBTOTAL:

=SUBTOTAL(9,A1:A10)

where the first argument denotes the type of calcaluation
to perform:

1 AVERAGE
2 COUNT
3 COUNTA
4 MAX
5 MIN
6 PRODUCT
7 STDEV
8 STDEVP
9 SUM
10 VAR
11 VARP
 
C

Carol

Does anyone know how to COUNT the number of rows that are
a result of using the Autofilter? I have 2 columns. I'm
using SUBTOTAL(9,a1..a500) to sum the values in those
rows, but I have a second column that I need to just
count the # rows. ??? ANy help would be appreciated?
Thanks!
 

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