Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default I want to create a calculated item based on a calculated field

Dear

I want to create a pivot table as below to compare sales numbers by product
with 2 years in the columns, and for each year the kg sold, the margin and
the margin/kg. Furthermore I want to calculate the difference between the 2
years for these 3 fields (kg, margin & margin/kg). I have created a
calculated field for the margin/kg.
For the difference between the 2 years, I have created a calculated item.
This is OK for the kg sold and the margin, but for the margin/kg, it gives
the wrong output (it calculates the margin/kg of the difference instead of
the the difference of the margins/kg).
In my example below, the pivot table gives for most right column 3,33, while
it should be -5 (= 15-20)

2008 2007
2008-2007
kg margin margin/kg kg margin margin/kg kg
margin margin/kg
product A 10 150 15 7 140 20
3 10 3,33

Thanks in advance
Stijn
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default I want to create a calculated item based on a calculated field

Use "Difference from"
on 2nd Pivot Table:
http://www.savefile.com/files/1749265

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
Calculated Field and Calculated Item in Pivot Table Fred Smith Excel Discussion (Misc queries) 0 March 4th 07 08:15 PM
pivot table formulas for calculated field or calculated item Vicky Excel Discussion (Misc queries) 3 June 6th 06 05:06 AM
Calculated Field/Item in a Pivot Matt D Francis Excel Worksheet Functions 8 March 1st 06 09:07 AM
How to create a calculated field formula based on Pivot Table resu dha17 Excel Discussion (Misc queries) 1 December 15th 04 05:39 AM


All times are GMT +1. The time now is 01:45 PM.

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"