How do you calculate the difference between two values within a p.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
To create a calculated field:

Select a cell in the Pivot Table
On the PivotTable toolbar, choose PivotTable>Formulas>Calculated 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,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top