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

The Case of the Vanished Menu Bar

Can't find your menu bar any more? Here are some things you can try to get that important feature back on your screen ...

Discover More

Working with Huge Datasets

It seems that more and more people are needing to use Excel to analyze large amounts of data. The success you have in ...

Discover More

Repeating Rows for a Table Footer

Word allows you to specify rows that should be repeated at the top of a table when that table extends beyond the bottom ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros 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

Excel Refuses to Put Page Breaks between Subtotal Groups

Page breaks not appearing where you expect them in your subtotaled data? It could be because of a setting you made in ...

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
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 3 + 2?

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.