Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How can I autosum only visible cells?

I have hidden rows in a spreadsheet. When I autosum, the total includes the
hidden rows. Is there a way to only autosum the visible cells?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default How can I autosum only visible cells?

This may work:

Select the column you're trying to autosum. Go to Edit--Go
To--Special--Visible Cells only. Click OK. Then click the autosum button.
What happens?

Dave
--
Brevity is the soul of wit.


"EFM pauls" wrote:

I have hidden rows in a spreadsheet. When I autosum, the total includes the
hidden rows. Is there a way to only autosum the visible cells?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How can I autosum only visible cells?

If the rows are hidden by data|autofilter, you could use:

=subtotal() instead of =sum()

If you're using xl2003, you could use =subtotal() no matter how the rows are
hidden.

=subtotal(9,a1:a10) 'any version of excel
or
=subtotal(109,a1:a10) 'xl2003 only

EFM pauls wrote:

I have hidden rows in a spreadsheet. When I autosum, the total includes the
hidden rows. Is there a way to only autosum the visible cells?


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How can I autosum only visible cells?

Use SUBTOTAL(9,range) instead of SUM(range). You can change the number
to get different effects, like COUNT and COUNTA - see Excel Help for
further details.

I put totals like this on the top row of the spreadsheet with the
header row (and filter pull-downs) below them. This way you can see
them easily when applying filters, rather than jumping down to the
bottom of the sheet each time.

Hope this helps.

Pete

EFM pauls wrote:
I have hidden rows in a spreadsheet. When I autosum, the total includes the
hidden rows. Is there a way to only autosum the visible cells?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking Groups of cells between workbooks vnacj-joe Excel Discussion (Misc queries) 4 June 14th 07 05:18 PM
Calculating only non-empty cells... Jay Excel Worksheet Functions 9 September 22nd 06 03:20 AM
When creating a formula how do you select only visible cells fuadramsey Excel Discussion (Misc queries) 1 June 13th 06 01:35 AM
Copying visible cells only on a protected worksheet Paula Excel Discussion (Misc queries) 0 June 6th 06 05:32 PM
AutoFill Visible Cells with Months Elaine New Users to Excel 3 March 16th 05 10:13 PM


All times are GMT +1. The time now is 05:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"