![]() |
How do you calculate the difference between two values within a p.
I have a pivot table set up in that it displays data with values before and
after an event. I would to be able to calculate the difference between the two values in a separate column within the pivot table. Does anyone know how to do this or if this is possible? It is using Excel 97 I have tried using a calculated field but it does not return a sensible answer |
Hi
one way: in your source data create a helper column with this difference and use this helper column in your pivot table -- Regards Frank Kabel Frankfurt, Germany "emlouise" schrieb im Newsbeitrag ... I have a pivot table set up in that it displays data with values before and after an event. I would to be able to calculate the difference between the two values in a separate column within the pivot table. Does anyone know how to do this or if this is possible? It is using Excel 97 I have tried using a calculated field but it does not return a sensible answer |
To create a calculated field:
Select a cell in the Pivot Table On the PivotTable toolbar, choose PivotTableFormulasCalculated Field Type a name for the formula In the formula box, type: = In the Field list, double-click the After field Type a minus sign: - In the Field list, double-click the Before field Click OK, emlouise wrote: I have a pivot table set up in that it displays data with values before and after an event. I would to be able to calculate the difference between the two values in a separate column within the pivot table. Does anyone know how to do this or if this is possible? It is using Excel 97 I have tried using a calculated field but it does not return a sensible answer -- Debra Dalgleish Excel FAQ, Tips & Book List http://www.contextures.com/tiptech.html |
All times are GMT +1. The time now is 06:57 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com