Autosum with Autofilter

P

Peter J Elliott

I have a spreadsheet with numerous values in one column and different
identifying data in other columns.

I can sort the data nicely using autofilter, however, my autosum at the
bottom of the values column continues to display the total value of all the
rows, not just the ones that I have filtered to view.

I need to be able to filter the spreadsheet and to have it autosum only
those rows in view on screen. Is this possible?

Many thanks

Peter
 
K

Ken Wright

Although in 2003 you have the option for it to also discount hidden rows as
well. :)
 
A

A.W.J. Ales

Peter,

Use the function Subtotal(9;columnrange)

--
Regards,
Auk Ales

* Please reply to this newsgroup only *
* I will not react on unsolicited e-mails *
 
P

Peter J Elliott

Thanks Ken

Regards

Peter

Ken Wright said:
Although in 2003 you have the option for it to also discount hidden rows as
well. :)

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 00/02/03

-------------------------------------------------------------------------- --
It's easier to beg forgiveness than ask permission :)
-------------------------------------------------------------------------- --
 
D

Debra Dalgleish

As other have suggested, use the Subtotal function to sum only the rows
visible after filtering.

Excel will create this for you automatically --

Create your list, then select a cell in the list
Choose Data>Filter>AutoFilter
Filter one of the columns
To sum a column, select a cell in the row directly below that column.
(or leave one blank row between the table, and the grand total)
Click the AutoSum button, and Excel will enter a Subtotal formula.
Press Enter to complete the formula
 
P

Peter J Elliott

Thanks all - that simple eh?

Cheers

Peter


Debra Dalgleish said:
As other have suggested, use the Subtotal function to sum only the rows
visible after filtering.

Excel will create this for you automatically --

Create your list, then select a cell in the list
Choose Data>Filter>AutoFilter
Filter one of the columns
To sum a column, select a cell in the row directly below that column.
(or leave one blank row between the table, and the grand total)
Click the AutoSum button, and Excel will enter a Subtotal formula.
Press Enter to complete the formula
 

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

Similar Threads

Excel autosum problem in Excel 1
Autofilter - SUM 2
AutoFilter & Counting Displayed Results 2
How to autosum data from filter ? 2
AutoSum on a filtered sheet 2
An odd problem with SUM(A:B) and AutoSum 2
Empty cells 3
autosum 1

Top