Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
CSAH
 
Posts: n/a
Default Pivot Table % calculation

I need to calculate a % based on a grouped totalin a pivot table. I've tried
calculated field & items but can't get them to work. If I use a calculated
item I get this:

Reg1 Reg2
Item1 Sales 100 200
Item2 Sales 200 300
Total Sales 300 500

Item1 Margin 50 150
Item2 Margin 100 200
Total Margin 150 350

Item1 Margin% 50% 75%
Item2 Margin% 50% 66%
Total Margin% 100% 133% When the values S/B 50% and 70%

I know this should be easy but I can't figure it out.
Thank you all very much
--
CSAHP
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

The subtotals in the pivot table will all use the same function -- in
this case they're all SUM functions. You could use conditional
formatting to hide the Total Margin% row, and do your own calculation
outside of the pivot table.

CSAH wrote:
I need to calculate a % based on a grouped totalin a pivot table. I've tried
calculated field & items but can't get them to work. If I use a calculated
item I get this:

Reg1 Reg2
Item1 Sales 100 200
Item2 Sales 200 300
Total Sales 300 500

Item1 Margin 50 150
Item2 Margin 100 200
Total Margin 150 350

Item1 Margin% 50% 75%
Item2 Margin% 50% 66%
Total Margin% 100% 133% When the values S/B 50% and 70%

I know this should be easy but I can't figure it out.
Thank you all very much



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
Using a Pivot Table Calculated Field to get a Unique Count Mike Struckman Excel Worksheet Functions 1 November 22nd 05 05:32 PM
Pivot Table services Craig Excel Discussion (Misc queries) 5 January 19th 05 06:11 PM
How to create a calculated field formula based on Pivot Table resu dha17 Excel Discussion (Misc queries) 1 December 15th 04 05:39 AM
pivot table multi line chart souris Charts and Charting in Excel 2 December 7th 04 03:56 AM
Problem with Pivot Table Drop-Down Menus Mac Excel Worksheet Functions 4 November 7th 04 01:18 PM


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