Problems with Nested Subtotals

by Allen Wyatt
(last updated April 19, 2019)

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

Shortcut for Viewing Formulas

If you need to switch between viewing formulas and viewing the results of those formulas, you'll love the keyboard ...

Discover More

Saving Changes in the Personal Workbook

The Personal workbook is a special place used to store information and macros that you can access from all the other ...

Discover More

Sharing Your Workbook

Need to allow others to contribute to your Excel workbook? It's easy to do if you just share it. This tip provides an ...

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)

Using Subtotals and Totals

You can insert subtotals and totals in your worksheets by using either a formula or specialized tools. This tip explains ...

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

Formatting Subtotal Rows

Excel automatically formats subtotals for you. But what if you want to change the default to something more suitable for ...

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 five minus 0?

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.