XL2000: Missing Totals When Using Multilevel Subtotals (212099)



The information in this article applies to:

  • Microsoft Excel 2000

This article was previously published under Q212099

SYMPTOMS

When you create multilevel subtotals for data, the totals appear in the incorrect order (staggered incorrectly) and may exclude grand totals for some functions.

CAUSE

This problem occurs when you do both of the following:
  • You create multilevel subtotals by using the Subtotals command on the Data menu, or you run a Visual Basic for Applications macro to create subtotals with multilevel outlines.

    -and-
  • You clear the Summary below data check box in the Subtotal dialog box.

WORKAROUND

To work around this problem, click to select the Summary below data check box in the Subtotal dialog box.

If you are using a Visual Basic macro to create your subtotals, set the optional SummaryBelowData argument to True or use the xlSummaryBelow constant. The following macro gives an example of this argument:
Selection.Subtotal GroupBy:=1, Function:=xlSum, TotalList:=Array(3), _
   Replace:=False, PageBreaks:=False, SummaryBelowData:=xlSummaryBelow
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

REFERENCES

For more information about creating multilevel subtotals, click Microsoft Excel Help on the Help menu, type insert subtotals into a list in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Modification Type:MajorLast Reviewed:10/8/2003
Keywords:kbbug kbpending KB212099