Help!

subtracting two pivot table data fields

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Charting RSS
Next:  Percentage between two given times in Excel  
Author Message
Alok
External


Since: Oct 03, 2006
Posts: 29



PostPosted: Thu Oct 22, 2009 11:52 am    Post subject: subtracting two pivot table data fields
Archived from groups: microsoft>public>excel>charting (more info?)

Hi, I have a pivot table wherein i have two column labels and two data
fields. Now, i want to display another row which contains the difference of
the two data fields corresponding to its respective column label. The two
data fields are being displayed as a count of the column values in the data
source. Please help me out as to how can i display the subtracted value of
the two cells in the cell below them in the pivot table.

Regards,
Alok
Back to top
Matrix416
External


Since: Nov 14, 2009
Posts: 1



PostPosted: Sat Nov 14, 2009 1:54 am    Post subject: Re: subtracting two pivot table data fields [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Alok;893464 Wrote:
> Hi, I have a pivot table wherein i have two column labels and two data
>
> fields. Now, i want to display another row which contains the
> difference of
> the two data fields corresponding to its respective column label. The
> two
> data fields are being displayed as a count of the column values in the
> data
> source. Please help me out as to how can i display the subtracted value
> of
> the two cells in the cell below them in the pivot table.
>
> Regards,
> Alok

Alok
IF the 2 data items you want subtracting are 2 separate fields then use
the calculated fields function.

Right click the pivot then choose 'formulas'...'calculated field'
1 Name your field
2 Create the formula. Its helpful to double click on the names in the
field list as this inserts the Fieldnames to the formula correctly by
including single quotes ' as necessary without which it doesn't work
Then choose "Add"




--
Matrix416
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Charting All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum