Help and Support
 

powered byLive Search

Multilevel subtotals are in the wrong position in Excel 2002, in Excel 2003, and in Excel 2007

Article ID:831824
Last Review:September 26, 2008
Revision:6.0
On This Page

SYMPTOMS

When you create multilevel subtotals for data in Microsoft Excel 2002, in Microsoft Office Excel 2003, or in Microsoft Office Excel 2007, and you set the subtotals to appear in the rows that are immediately above the data that they are based on, the totals appear in the incorrect order (staggered incorrectly) and may exclude extra Grand Totals values.

Back to the top

RESOLUTION

Excel 2002

Back to the top

How to obtain the hotfix

This issue is fixed in the Excel 2002 post-Service Pack 3 hotfix package that is dated November 13, 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
829348 (http://support.microsoft.com/kb/829348/) Excel 2002 post-Service Pack 3 hotfix package: May 6, 2004
This fix is enabled by default when you install the hotfix.

Back to the top

Excel 2003

This fix is included in Microsoft Office 2003 Service Pack 1 (SP1) or a later version of Office 2003 SP1. For more information about how to obtain the latest service pack for Office 2003, click the following article number to view the article in the Microsoft Knowledge Base:
870924 (http://support.microsoft.com/kb/870924/) How to obtain the latest service pack for Office 2003
After you install the Office 2003 Service Pack, see the "More Information" section for information about how to enable the registry key.

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Back to the top

MORE INFORMATION

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756/) How to back up and restore the registry in Windows


The fix is enabled by default when you install the update. However, it may cause incorrect ordering of subtotals when the following conditions are true:
The summary appears below the detail data.
One or more subtotal breaks contain only a single item.
Follow these steps to disable this hotfix and to resolve this issue by reverting to the subtotal functionality of Excel 97 and Excel 2000:
1.Quit all Microsoft Office programs.
2.Click Start, and then click Run.
3.In the Open box, type regedit, and then click OK.
4.Locate and then click to select the following registry key:

Excel 2002
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Excel\Options
Excel 2003
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Options
5.After you select the key that is specified in step 4, point to New on the Edit menu, and then click DWORD value.
6.Type Excel97Subtotals, and then press ENTER.
7.Right-click Excel97Subtotals, and then click Modify.
8.In the Value data box, type 1, and then click OK.
9.On the File menu, click Exit to quit Registry Editor.
Note If there is a current worksheet that contains subtotals, the subtotals must be deleted and recreated in order for the fix to take a effect.

Back to the top

REFERENCES

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 (http://support.microsoft.com/kb/824684/) Description of the standard terminology that is used to describe Microsoft software updates
For more information about the registry keys for Excel 2003 that are related to this issue, click the following article number to view the article in the Microsoft Knowledge Base:
870757 (http://support.microsoft.com/kb/870757/) Multiple grand totals are missing after you set the Excel97Subtotals Windows registry value

Back to the top


APPLIES TO
Microsoft Office Excel 2003
Microsoft Excel 2002 Standard Edition
Microsoft Office Excel 2007

Back to the top

Keywords: 
kbqfe kbofficexpsp4fix kbofficexppostsp3fix kbbug kbfix KB831824

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.