Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Pivot Table: Variance formula

Within a pivot table, how can I calculate a VARIANCE between 2 columns,
rather than the default "Grand Total" as shown below (i.e., I need to see a
variance of 8 on the Dog/Male row, rather than the "total" of 12) ?

Animal Gender Born Sold Grand Total
Dog Male 10 2 12
Female 5 2 7
Cat Male 1 1 2
Female 3 2 5
Hamster Male 6 3 9
Female 2 1 3

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Pivot Table: Variance formula

Hi

Right click on PTtable optionsDeselect Grand Total by row.

Create a calculated field for your value. From the dropdown on the PT
ToolbarFormulasCalculated FieldName Variance
Formula = Born - Sold


--
Regards
Roger Govier



"Grunt_13" wrote in message
...
Within a pivot table, how can I calculate a VARIANCE between 2 columns,
rather than the default "Grand Total" as shown below (i.e., I need to see
a
variance of 8 on the Dog/Male row, rather than the "total" of 12) ?

Animal Gender Born Sold Grand Total
Dog Male 10 2 12
Female 5 2 7
Cat Male 1 1 2
Female 3 2 5
Hamster Male 6 3 9
Female 2 1 3



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default Pivot Table: Variance formula

Add another copy of the Born/Sold field to the data area.
Right-click on a cell in that column, and click on Field Settings
Click Options, and from the dropdown list choose Difference From
As the Base Field, select the Born/Sold field
As the Base Item, select Sold
Click OK

Grunt_13 wrote:
Within a pivot table, how can I calculate a VARIANCE between 2 columns,
rather than the default "Grand Total" as shown below (i.e., I need to see a
variance of 8 on the Dog/Male row, rather than the "total" of 12) ?

Animal Gender Born Sold Grand Total
Dog Male 10 2 12
Female 5 2 7
Cat Male 1 1 2
Female 3 2 5
Hamster Male 6 3 9
Female 2 1 3



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table Variance help colinfitz Excel Discussion (Misc queries) 0 August 15th 07 11:54 AM
Pivot Tables - Variance and Variance % PJS Excel Discussion (Misc queries) 2 January 18th 06 03:12 AM
Calculate % variance on previous quarters. Quarter %, etc. pivot DaveC Excel Discussion (Misc queries) 1 August 8th 05 06:45 PM
Pivot Table Subtotals/Variance Analysis NCW Excel Discussion (Misc queries) 1 August 6th 05 07:23 PM
Pivot Tables - Variance and % Variance fields CraigS Excel Discussion (Misc queries) 5 January 6th 05 12:22 AM


All times are GMT +1. The time now is 04:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"