LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default Pivot table, average of nex column

You could add a couple of columns to the source data to calculate the
average, then add that new field to the pivot table.
For example, with amounts in column I, and employee names in column G,
add this formula to column L, to calculate the employee totals:

=IF(COUNTIF($G$1:G2,G2)=1,SUMIF(G:G,G2,I:I),"")

In another column, use this formula to calculate the the average total:
=AVERAGE(L:L)

Add the AvgTotal field to the pivot table, as Max of AvgTotal

Daniel wrote:
how can I create a column so it can calculate average on the next column.
In my table below. I did create a average column, but how can I add a formula
to calculate the sale column. In this case I wish the average column should
show 23600 all rows. Thnks for your help. Daniel

My pivot table like this

name sale average
smith 20000
john 13000
daniel 30000
roger 40000
dany 15000



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

 
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, add new column for average Daniel Excel Discussion (Misc queries) 3 July 6th 07 12:14 AM
Pivot Table - Weight Average looper Excel Worksheet Functions 2 February 10th 07 04:40 PM
adding average to pivot table rushda Excel Discussion (Misc queries) 0 January 17th 06 07:11 AM
Pivot Table -- Add column to average Grand Total Lynn Excel Worksheet Functions 1 August 30th 05 03:59 PM
How to Get Sum of the Average in Pivot Table? Evanya Excel Discussion (Misc queries) 1 January 6th 05 09:07 PM


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

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

About Us

"It's about Microsoft Excel"