The information in this article applies to:
SYMPTOMSIn a PivotTable, Microsoft Excel may incorrectly calculate the grand total for a calculated field. CAUSEThis problem occurs when you use a calculated field (a field based on other fields) in a PivotTable, and the calculated field is defined by performing a higher order arithmetic operation, such as exponentiation, multiplication or division, on other fields in the PivotTable. For example, this problem occurs when you use a calculated field named Revenues that returns the multiple of the fields Units * Price. The individual items in the calculated field return the expected results; however, the grand total does not return the expected result for the calculated field. STATUSMicrosoft has confirmed this to be a problem in Microsoft Excel 98 Macintosh Edition. MORE INFORMATIONWhen a calculated field includes more than one field in the data range, Microsoft Excel computes the grand total for the sum of each component field, and then performs the arithmetic operation. For example, the following example PivotTable contains a calculated field named Revenue, which is defined as Price * Units.
The grand total of 198 does not equal the subtotals of 10+22+36, which is
SUM(Units)*SUM(Price)which is 6*33=198. For additional information on using Calculated Fields, please see the following article in the Microsoft Knowledge Base: Q181219 XL98: Using PivotTable Calculated Fields and Calculated Items REFERENCESFor more information about calculated fields, click Contents And Index on the Help menu (or on the Balloon Help menu if you are using a version of the Macintosh operating system earlier than 8.0), click the Index button in MS Excel Help, type the following text PIVOTTABLES, calculated fieldsand then click Show Topics. Select the "Create a calculated field in a PivotTable" topic, and click Go To. If you are unable to find the information you need, ask the Office Assistant. Additional query words: 97 XL97 calculation XL98
Keywords : kbdta xlpivot |
Last Reviewed: January 13, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |