Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Subtotaling non-contiguous cells

I am trying to figure out the syntax for a subtotal formula that subtotals
non-contiguous cells. I am using Excel 2003. If I use the Sum function as in
the following formula: =SUM(H6,H54,H75,H83,H88), I get the expected answer,
but I want to use the Subtotal function so my formulas results will reflect
that one or more of the cells referenced in the formula has been manually
hidden. Subtotal formula example: =SUBTOTAL(109,h6,h54,h75,h83,h88). Is what
I am trying to do impossible? I don't get an error indication; the answer is
always 0. And by the way, the cells referenced in the subtotal and sum
formulas are themselves subtotals, but they work as advertised because the
cells they refer to are contiguous.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 353
Default Subtotaling non-contiguous cells

The subtotal function ignores any other subtotals... so selecting ONLY
subtotals will give you zero.
=subtotal(109,H2:H88) to get the total of visible rows in that range.

"David N. Ballew Jr." wrote:

I am trying to figure out the syntax for a subtotal formula that subtotals
non-contiguous cells. I am using Excel 2003. If I use the Sum function as in
the following formula: =SUM(H6,H54,H75,H83,H88), I get the expected answer,
but I want to use the Subtotal function so my formulas results will reflect
that one or more of the cells referenced in the formula has been manually
hidden. Subtotal formula example: =SUBTOTAL(109,h6,h54,h75,h83,h88). Is what
I am trying to do impossible? I don't get an error indication; the answer is
always 0. And by the way, the cells referenced in the subtotal and sum
formulas are themselves subtotals, but they work as advertised because the
cells they refer to are contiguous.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Subtotaling non-contiguous cells

Thank you very much! It worked like a champ.

Dave

"BoniM" wrote:

The subtotal function ignores any other subtotals... so selecting ONLY
subtotals will give you zero.
=subtotal(109,H2:H88) to get the total of visible rows in that range.

"David N. Ballew Jr." wrote:

I am trying to figure out the syntax for a subtotal formula that subtotals
non-contiguous cells. I am using Excel 2003. If I use the Sum function as in
the following formula: =SUM(H6,H54,H75,H83,H88), I get the expected answer,
but I want to use the Subtotal function so my formulas results will reflect
that one or more of the cells referenced in the formula has been manually
hidden. Subtotal formula example: =SUBTOTAL(109,h6,h54,h75,h83,h88). Is what
I am trying to do impossible? I don't get an error indication; the answer is
always 0. And by the way, the cells referenced in the subtotal and sum
formulas are themselves subtotals, but they work as advertised because the
cells they refer to are contiguous.

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
Subtotal Non-contiguous cells David N. Ballew Jr. Excel Discussion (Misc queries) 3 May 2nd 07 07:30 PM
counting cells that are 0 in a range of non-contiguous cells Mark Excel Worksheet Functions 9 March 14th 07 02:45 PM
Summing non contiguous cells Millie Excel Discussion (Misc queries) 4 August 10th 06 10:23 PM
XIRR and Non Contiguous Cells John Taylor Excel Discussion (Misc queries) 2 August 2nd 06 12:41 AM
Summing non-contiguous cells Cheryl Excel Worksheet Functions 6 April 26th 05 03:04 AM


All times are GMT +1. The time now is 10:28 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"