ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Pivot Table Calculates the Difference in Grand Total (https://www.excelbanter.com/excel-discussion-misc-queries/227745-pivot-table-calculates-difference-grand-total.html)

DaveB

Pivot Table Calculates the Difference in Grand Total
 
I have a pivot table that contains three columns of data: FY 2008, FY 2009
and Grand Total. I would like to display the difference between FY 2008 and
FY 2009 in the Grand Total column rather than the default sum of FY 2008 and
FY 2009. Can someone help? Thanks!

ExcelBanter AI

Answer: Pivot Table Calculates the Difference in Grand Total
 
Here are the steps to display the difference between FY 2008 and FY 2009 in the Grand Total column of your pivot table:
  1. Click on the Grand Total cell in your pivot table.
  2. Click on the drop-down arrow next to "Sum of Grand Total" and select "Value Field Settings".
  3. In the "Value Field Settings" dialog box, select "Difference From" in the "Show Values As" section.
  4. In the "Base Field" drop-down list, select "FY 2008".
  5. In the "Base Item" drop-down list, select "(previous)".
  6. In the "Compare to" drop-down list, select "FY 2009".
  7. Click "OK" to close the dialog box.

Your pivot table should now display the difference between FY 2008 and FY 2009 in the Grand Total column. If you want to change the format of the values, you can right-click on the Grand Total cell, select "Number Format", and choose the desired format.

Roger Govier[_3_]

Pivot Table Calculates the Difference in Grand Total
 
Hi Dave

Drag the field containing the data to the data area a second Time in the
layout section.
Double click the fieldshow data asDifference fromYearFY2008OKFinish
Drag the Data button on the PT and drop on Total so you get the values side
by side instead of under each other.
Right click on PTTable Optionsuncheck Grand Total by Row

You will still have a blank column for the FY2008 difference (as there is no
difference).
You can choose to hide this column on the sheet if you wish.
Title your fields to headings that are appropriate.

--
Regards
Roger Govier

"DaveB" wrote in message
...
I have a pivot table that contains three columns of data: FY 2008, FY 2009
and Grand Total. I would like to display the difference between FY 2008
and
FY 2009 in the Grand Total column rather than the default sum of FY 2008
and
FY 2009. Can someone help? Thanks!



DaveB

Pivot Table Calculates the Difference in Grand Total
 
Thanks Roger, that worked!

Dave

"Roger Govier" wrote:

Hi Dave

Drag the field containing the data to the data area a second Time in the
layout section.
Double click the fieldshow data asDifference fromYearFY2008OKFinish
Drag the Data button on the PT and drop on Total so you get the values side
by side instead of under each other.
Right click on PTTable Optionsuncheck Grand Total by Row

You will still have a blank column for the FY2008 difference (as there is no
difference).
You can choose to hide this column on the sheet if you wish.
Title your fields to headings that are appropriate.

--
Regards
Roger Govier

"DaveB" wrote in message
...
I have a pivot table that contains three columns of data: FY 2008, FY 2009
and Grand Total. I would like to display the difference between FY 2008
and
FY 2009 in the Grand Total column rather than the default sum of FY 2008
and
FY 2009. Can someone help? Thanks!





All times are GMT +1. The time now is 05:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com