LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Sum of a column excluding hidden rows

Don't use the Autosum Button.


Gord

On Thu, 21 Jun 2007 20:14:00 -0700, mnwild1
wrote:

Hello Gord.
I am using Excel 2007. I have manually hidden the rows I want to exclude
from the calculation but when I use the autosum, it counts the hidden rows.
How can I sum the column but not count the hidden rows?

Thank you!!

"Gord Dibben" wrote:

Which version of Excel and how are the rows hidden?

Excel 2003 has added a function that subtotals manually hidden and/or filtered
rows.

If 2003 use the formula =SUBTOTAL(109,rangetosum) to sum all hidden rows no
matter the method.

In earlier versions if rows are hidden by Filtering then use this.

=SUBTOTAL(9,rangetosum)

If an earlier version and rows are hidden manually select the range and
F5SpecialVisible cells only and OK.

Copy/paste to an unused range and sum them there.


Gord Dibben MS Excel MVP

On Thu, 21 Jun 2007 19:40:01 -0700, mnwild1
wrote:

How do I sum many rows within a column but exclude hidden colums from the
calculation?

Thank you!




 
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
Counting non-blank cells in a column, excluding hidden rows SisterDell Excel Worksheet Functions 3 June 1st 07 03:31 PM
Need to sum columns, excluding hidden ones - like 'subtotal' for r psill Excel Discussion (Misc queries) 0 October 12th 06 08:14 PM
I need my Hidden Rows to stay hidden when I print the sheet. Rosaliewoo Excel Discussion (Misc queries) 2 July 20th 06 07:51 PM
paste excel sheet excluding hidden rows Bernie Excel Discussion (Misc queries) 3 March 5th 06 02:17 PM
Column Auto Width and Hidden Rows KWCounter Excel Discussion (Misc queries) 1 May 20th 05 12:59 AM


All times are GMT +1. The time now is 07:56 AM.

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"