Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default calculating variances in pivot tables

i am trying to turn the grand total column into a variance column. I do not
want to sum the hours in my data set i want to show the difference between
the hours from one year to the next. the data in my pivot table looks like
this:

Col A: Col B: Col C: Col D:
Account # 2007 Hours 2008 Hours Grand Total

Any suggestions?

Thanks!



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 968
Default calculating variances in pivot tables

How about adding a pivot table calculated field called Variance with a
formula something like:
='2008 Hours' - '2007 Hours'

regards
Charles
__________________________________________________
The Excel Calculation Site
http://www.decisionmodels.com

"smw2340" wrote in message
...
i am trying to turn the grand total column into a variance column. I do
not
want to sum the hours in my data set i want to show the difference between
the hours from one year to the next. the data in my pivot table looks
like
this:

Col A: Col B: Col C: Col D:
Account # 2007 Hours 2008 Hours Grand Total

Any suggestions?

Thanks!





  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default calculating variances in pivot tables

Thanks for the suggestion Charles. However, i get an error saying i've used
the same field more than once. in my data table that the pivot is pulling
from i have the following columns: Account, Year, Hours. When i create the
pivot the years are in the columns, account in the rows and the hours is the
data item.



"Charles Williams" wrote:

How about adding a pivot table calculated field called Variance with a
formula something like:
='2008 Hours' - '2007 Hours'

regards
Charles
__________________________________________________
The Excel Calculation Site
http://www.decisionmodels.com

"smw2340" wrote in message
...
i am trying to turn the grand total column into a variance column. I do
not
want to sum the hours in my data set i want to show the difference between
the hours from one year to the next. the data in my pivot table looks
like
this:

Col A: Col B: Col C: Col D:
Account # 2007 Hours 2008 Hours Grand Total

Any suggestions?

Thanks!






  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 968
Default calculating variances in pivot tables

OK: Try this

Double-click Sum Of Hours label to show the PivotTable field dialogue for
the Hours field
Click Options
Show Data as 'Difference From'
Base Field should be 'Year'
Base Item should be (previous)

regards
Charles
__________________________________________________
The Excel Calculation Site
http://www.decisionmodels.com

"smw2340" wrote in message
...
Thanks for the suggestion Charles. However, i get an error saying i've
used
the same field more than once. in my data table that the pivot is pulling
from i have the following columns: Account, Year, Hours. When i create
the
pivot the years are in the columns, account in the rows and the hours is
the
data item.



"Charles Williams" wrote:

How about adding a pivot table calculated field called Variance with a
formula something like:
='2008 Hours' - '2007 Hours'

regards
Charles
__________________________________________________
The Excel Calculation Site
http://www.decisionmodels.com

"smw2340" wrote in message
...
i am trying to turn the grand total column into a variance column. I do
not
want to sum the hours in my data set i want to show the difference
between
the hours from one year to the next. the data in my pivot table looks
like
this:

Col A: Col B: Col C: Col D:
Account # 2007 Hours 2008 Hours Grand Total

Any suggestions?

Thanks!








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
Create Variances using Pivot Table IF Statement[_2_] Excel Discussion (Misc queries) 4 November 9th 07 06:17 PM
Calculating from values in pivot tables Owen Peck Excel Worksheet Functions 3 September 13th 07 03:31 PM
Calculating in Pivot Tables Teresa Excel Discussion (Misc queries) 2 July 18th 06 07:18 PM
Calculating fields in pivot tables kosciosco Excel Discussion (Misc queries) 2 June 6th 06 02:45 PM
Calculating percentages in pivot tables on subtotals David Ruderman - Chapman University Excel Worksheet Functions 1 November 24th 05 04:54 PM


All times are GMT +1. The time now is 02:36 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"