Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default subtotals function error

I have a spreadsheet which uses the subtotal function in several rows to give
me sutotals for groups within groups which can then be filtered by column
headings. I have then grouped and outlined the spreadsheet .

This all worked perfectly but suddenly the subtotals are only working when
all the groups are expanded, when closed the subtotals show as zero. I have
a back up copy from the previous week which is still working fine and the
only difference I can see between the two copies is the fact that most of the
row numbers in the faulty copy are shown in blue then revert to black whereas
the back up copy row numbers are all shown in black.

I have tried ungrouping and starting again but it doesn't make any
difference. Does anyone have any clues what's happened and what is the
significance of the blue row numbers??

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default subtotals function error

The blue row numbers indicate that you have applied a filter - these
are rows within the filter range which match the filter condition.

When you use SUBTOTAL(9,range), for example, the subtotal only adds
the values in the displayed rows, so if some have been filtered out
then the subtotal will have a different value.

All this is standard Excel stuff - not an error.

Hope this helps.

Pete

On May 14, 11:37 am, Mar_W wrote:
I have a spreadsheet which uses the subtotal function in several rows to give
me sutotals for groups within groups which can then be filtered by column
headings. I have then grouped and outlined the spreadsheet .

This all worked perfectly but suddenly the subtotals are only working when
all the groups are expanded, when closed the subtotals show as zero. I have
a back up copy from the previous week which is still working fine and the
only difference I can see between the two copies is the fact that most of the
row numbers in the faulty copy are shown in blue then revert to black whereas
the back up copy row numbers are all shown in black.

I have tried ungrouping and starting again but it doesn't make any
difference. Does anyone have any clues what's happened and what is the
significance of the blue row numbers??

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default subtotals function error

Thanks, Pete, I had already checked that there were no filters on and
couldn't locate any. However, I have now taken the autofilters off,
reapplied them and hey presto it's now working fine!!!

"Pete_UK" wrote:

The blue row numbers indicate that you have applied a filter - these
are rows within the filter range which match the filter condition.

When you use SUBTOTAL(9,range), for example, the subtotal only adds
the values in the displayed rows, so if some have been filtered out
then the subtotal will have a different value.

All this is standard Excel stuff - not an error.

Hope this helps.

Pete

On May 14, 11:37 am, Mar_W wrote:
I have a spreadsheet which uses the subtotal function in several rows to give
me sutotals for groups within groups which can then be filtered by column
headings. I have then grouped and outlined the spreadsheet .

This all worked perfectly but suddenly the subtotals are only working when
all the groups are expanded, when closed the subtotals show as zero. I have
a back up copy from the previous week which is still working fine and the
only difference I can see between the two copies is the fact that most of the
row numbers in the faulty copy are shown in blue then revert to black whereas
the back up copy row numbers are all shown in black.

I have tried ungrouping and starting again but it doesn't make any
difference. Does anyone have any clues what's happened and what is the
significance of the blue row numbers??

Thanks




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
Function to SUM only Subtotals nejohnso76 Excel Discussion (Misc queries) 3 December 8th 06 05:22 PM
Error message using subtotals Jets Excel Worksheet Functions 0 January 23rd 06 10:43 PM
Fold / unfold without subtotals function Peter Adema Excel Worksheet Functions 2 January 19th 06 03:37 PM
LARGE Function with subtotals hindsight Excel Discussion (Misc queries) 3 August 3rd 05 03:09 PM
Outlining function without subtotals Jeff Excel Discussion (Misc queries) 1 March 7th 05 09:03 PM


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