Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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

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� Excel 2002 post-Service Pack 3 hotfix package: May 6, 2004
This fix is enabled by default when you install the hotfix.

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� 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� 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
    Excel 2007
    HKEY_CURRENT_USER\Software\Microsoft\Office\12.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� 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� Multiple grand totals are missing after you set the Excel97Subtotals Windows registry value

↑ Back to the top


Keywords: KB831824, kbfix, kbbug, kbofficexppostsp3fix, kbofficexpsp4fix, kbqfe

↑ Back to the top

Article Info
Article ID : 831824
Revision : 8
Created on : 10/6/2011
Published on : 10/6/2011
Exists online : False
Views : 333