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

Using Header Information as the Filename

Save a document for the first time, and Word helpfully suggests a filename you can use or change. If you want this ...

Discover More

Setting a Default Date Format

Enter a date into a cell, and Excel allows you to format that date in a variety of ways. Don't see the date format you ...

Discover More

Turning Off Gridlines

The purpose of gridlines is to make it easy to identify and select cells in a spreadsheet. If you find the gridlines to ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (menu)

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

Copying Subtotals

If you have added subtotals to your worksheet data, you might want to copy those subtotals somewhere else. This is easy ...

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 seven more than 7?

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.