Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
cereldine
 
Posts: n/a
Default Pivot table calc using average in summed field


Hi, i have drawn a substantial amount of data off an sql server for
analysis in pivot tables. My data would resemble something like below

Reg Field A Field B Field C Field D
1 12 4 2 0
1 12 4 6 2

1 12 4 3 1

My Formula should something like

Comparrison = Average of B + (All of C values - All of D values)

I can't quite get this to work ina calculated field, How would i put
this as an expression in a calculated field? My experiments have always
treated B as a summed amount so i would end up with

Comparrison = 12 (sum of B not average) + (11-3) Not
Comparrison = 4 + (11-3)

Thanks


--
cereldine
------------------------------------------------------------------------
cereldine's Profile: http://www.excelforum.com/member.php...o&userid=32069
View this thread: http://www.excelforum.com/showthread...hreadid=551355

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 formulas for calculated field or calculated item Vicky Excel Discussion (Misc queries) 3 June 6th 06 05:06 AM
Using '% of Total' in calculated field in Pivot Table goofy11 Excel Discussion (Misc queries) 2 May 9th 06 11:32 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Pivot table page field switch to (all) if my criteria is not avail Angus Excel Discussion (Misc queries) 0 July 30th 05 05:06 AM
caluclated field in pivot table? marshall Excel Worksheet Functions 0 May 16th 05 04:33 PM


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