Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a pivot table that looks something like this:
Customer CategoryA CategoryB TotalSale TotalWeight NetSale ExtWeight NetSale ExtWeight ABC 1000 100 2000 100 3000 200 What I would ideally like to do is 2 things: 1, hide the ExtWeight column but still show the TotalWeight on the right 2, i want to create a calculated field on the right of the TotalWeight that would be the average of the totalsale to totalweight (totalsale/totalweight) which would be the avg sale/weight. Any suggestions |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Regarding the second of these - Within the pivot table you can't have a field
to the right of the grand total column, if thats what the Total Sales column is. Regarding the other one if you want you can send me a sample file and I will try to see what I can do. My name, no spaces @SBCGlobal.Net -- If this helps, please click the Yes button Cheers, Shane Devenshire "Leo Demarce" wrote: I have a pivot table that looks something like this: Customer CategoryA CategoryB TotalSale TotalWeight NetSale ExtWeight NetSale ExtWeight ABC 1000 100 2000 100 3000 200 What I would ideally like to do is 2 things: 1, hide the ExtWeight column but still show the TotalWeight on the right 2, i want to create a calculated field on the right of the TotalWeight that would be the average of the totalsale to totalweight (totalsale/totalweight) which would be the avg sale/weight. Any suggestions |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
If you omit ext weight from PT, then you won't get Total Weight. You could just Hide those columns totally on the Sheet, so it didn't display. As for the second part you need to use the GetPivotData function. Using direct cell references like =F5/G5 copied down, will work, but they are likely to become incorrect when the PT is refreshed. For help on how to use the GetPivotdata function, take a look at http://www.contextures.com/xlPivot06.html -- Regards Roger Govier "Leo Demarce" wrote in message ... I have a pivot table that looks something like this: Customer CategoryA CategoryB TotalSale TotalWeight NetSale ExtWeight NetSale ExtWeight ABC 1000 100 2000 100 3000 200 What I would ideally like to do is 2 things: 1, hide the ExtWeight column but still show the TotalWeight on the right 2, i want to create a calculated field on the right of the TotalWeight that would be the average of the totalsale to totalweight (totalsale/totalweight) which would be the avg sale/weight. Any suggestions |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Excel 2007
Pivot Table, Auxiliary Table with GetPivotData() resizes dynamically with new data or refresh. Shown Share file he http://www.mediafire.com/file/umot0atjmjy/02_06_09.xlsm |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calculated Field in Pivot Table Based on Two Counted Fields | Excel Discussion (Misc queries) | |||
Totals of calculated field in pivot table give incorrect results | Excel Worksheet Functions | |||
pivot table - hide details but show subtotal for calculated field | Excel Discussion (Misc queries) | |||
How to create a calculated field formula based on Pivot Table resu | Excel Discussion (Misc queries) | |||
Pivot table help:calculated field based on previous consecutive va | Excel Discussion (Misc queries) |