XL97: PivotTable Appears Incorrect If Data Contains Merged CellLast reviewed: January 7, 1998Article ID: Q172990 |
The information in this article applies to:
SYMPTOMSWhen you create a PivotTable in a worksheet in Microsoft Excel 97, the following problems may occur:
CAUSEThis problem may occur if the list of data used to create the PivotTable contains merged cells.
WORKAROUNDTo work around this problem, unmerge any merged cells in the list of data used to create the PivotTable, fill the unmerged cells with field data, and update the PivotTable. The "More Information" section in this article contains an example of the problem.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe problem described in the "Symptoms" section occurs because of the way that PivotTables in Microsoft Excel 97 retrieve data from cells in a worksheet. When you create a PivotTable, the PivotTable ignores any merged cells in the list of data and retrieves information stored in the individual cells. Because the cells are blank, they appear in the PivotTable as blank fields.
ExampleThe following steps demonstrate the problem in Microsoft Excel 97:
Sum of Sales Quarter Widget Type Q1 Q2 Q3 Q4 Grand Total Alpha 1 1 Bravo 5 5 Charlie 3 3 (blank) 12 15 18 45 Grand Total 9 12 15 18 54Note that all of the items in the PivotTable are grouped in the "(blank)" Widget Type except items in rows two, six, and ten in the worksheet. These items are next to the original data in the merged cells so that they are aligned with the correct Widget Types. The items grouped into the "(blank)" Widget Type are in the same rows as the blank cells in step 1. Correcting the Example: To correct the problem in the example, do the following:
Sum of Sales Quarter Widget Type Q1 Q2 Q3 Q4 Grand Total Alpha 1 2 3 4 10 Bravo 5 6 7 8 26 Charlie 3 4 5 6 18 Grand Total 9 12 15 18 54This PivotTable contains the correct information.
|
Additional query words: XL97 pivot table wrong order
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |