Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
Need help creating a calculated field in a Pivot Table Below is an example of my Pivot including the first two rows of data. Average of LoS DIABETIC? OPCS_1 Diabetic Non Diabetic A559 13.0 9.1 A578 0.0 0.9 What I want to add for each row is a third column which displays the the difference between the two columns so I would end up with: Average of LoS DIABETIC OPCS_1 Diabetic Non Diabetic DIFFERENCE A559 13.0 9.1 3.9 A578 0.0 0.9 0.9 I can do this by adding a formula in the cell to the right of the last column of the pivot, but this is no good as the references will be thrown out if the Pivot changes. So how do I add this calculation as part of the Pivot table so that it updates with a refresh? The field giving the figures for Diabetic & Non Diabetic columns is an Average and this seems to be causing a problem. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calculated field in Pivot Table | Excel Discussion (Misc queries) | |||
Totals of calculated field in pivot table give incorrect results | Excel Worksheet Functions | |||
Using a Pivot Table Calculated Field to get a Unique Count | Excel Worksheet Functions | |||
Using a MIN, MAX formula on a calculated field in a pivot table | Excel Discussion (Misc queries) | |||
How to create a calculated field formula based on Pivot Table resu | Excel Discussion (Misc queries) |