Problems with Nested Subtotals

by Allen Wyatt
(last updated August 16, 2014)

3

Kathy is having problems creating nested subtotals in Excel. It seems that when she thinks she has it right, she ends up with disorganized subtotals, with the subtotals being after the grand total.

This problem seems to be a known issue to the folks at Microsoft; it has affected users of both Excel 2002 and Excel 2003. The problem and its solution is discussed in this Knowledge Base article:

http://support.microsoft.com/?kbid=831824

In short, you can fix the problem in Excel 2002 and Excel 2003 by downloading a hotfix or service pack.(You can also do a Registry edit to effect a fix.)

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3080) applies to Microsoft Excel 2002 and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Applying Bullets from the Keyboard

Most people use the toolbars to apply bullets to paragraphs. If you want to apply them using the keyboard, then you can ...

Discover More

Using the EOMONTH Function

If you need to determine the date of the last day in a month, it's hard to beat the flexibility of the EOMONTH function. ...

Discover More

Too Many Rows or Columns in a PivotTable

PivotTables are often used to aggregate lots of information, and they do it beautifully. What do you do if Excel starts ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

Subtotals Option Grayed Out

The Subtotals option on the Data menu is normally available for adding or removing subtotals to data tables. If the ...

Discover More

Moving Subtotals

When you add subtotals to a worksheet, Excel typically places them in the same column that you are subtotaling. If you ...

Discover More

Counting with Subtotals

There are a variety of ways you can count information in different groupings. One convenient way is to use the ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is one less than 6?

2018-07-17 16:07:00

Benny

Hi Allen,
FYI, I've seen mentions of this for more recent versions of Office than you list (more recent than 2002 and 2003).
Today I've experienced this bug in my copy of Office 2016 32Bit for Windows 10 Home 64bit.
I have a sizable table of ~25 columns and ~3.5K rows. If I delete a bunch of rows and then subtotal twice, they nest correctly. If I do not delete the rows, the "nested subtotals" are broken as you've described.
I'm hunting for any special values/rows which may be causing it, but otherwise I think it may just be table-size which breaks this.
I'm desperate for a solution, if anyone hears how to consistently/reliably get proper nested subtotals in Excel 2016.
Thanks,
-Benny

P.S. Just FYI the Knowledge Base link is broken.
Don't feel bad, as it looks like 90% of the internet's links to Knowledge Base have been broken (even their own Support search results).


2016-06-22 15:39:50

elaines03`

I am having issues in Excel 2010 also with Nesting subtotals. Not all the time but sometimes the last item total in a sub group will fall below the grand total


2016-06-05 21:28:23

yodayoda

And I'm still seeing the problem in Excel 2010. Has anyone found a solution that REALLY works?


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.