Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

excel pivot table and simple division column

Posted on 2011-09-12
5
Medium Priority
?
347 Views
Last Modified: 2012-08-14
Hi,
I have a simple pivot table with 3 fields:
Month, quantity, tot amount,
I need a column which calculates tot amount / quantity.
I need also that in the  final tot row it does the same:
tot of tot amount / tot of quantity.
Is it possible?
0
Comment
Question by:bobdylan75
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:Makrini
ID: 36521671
Click a cell in one of the values in your pivot table.

In the ribbon under Pivot Table Tools  - Options
Choose Fields, Items and sets, and choose "Calculated Field"

Then name your new calculation whatever you choose and create a formula totamount/Quantity

Click "Add"

  (Using Excel 2010 - it's named something *slightly* different in 2007 - If you are using earlier than that you can find it a different way - let me know if you are)
0
 

Author Comment

by:bobdylan75
ID: 36521677
Thanks Makrini,
I use office 2007.
Now I try.
0
 

Author Comment

by:bobdylan75
ID: 36521710
I don't understand why,
but I have not Fields tab or something like that.
0
 
LVL 10

Accepted Solution

by:
Makrini earned 2000 total points
ID: 36521716
Try it with this method instead

1. Select a cell in the PivotTable report.
2. Select Insert -> PivotTable (in Tables Group) -> PivotTable Tools -> Options -> Formula (in Tools Group) -> Formulas -> Calculated Field.
3. In the Insert Calculated Field dialog box, type the formula name in the Name box.
4. In the Fields list box, select the first field name to insert into the Formula text box, and click Insert Field. The field name is copied into the Formula box.
5. Type the divider symbol: / (in this example), repeat step 4 to insert the second field into the formula, and then click OK.
6. To format the new calculated field, select a cell in the new calculated field, right click and select Value Field Settings -> Number Format button.

Exerpt from
http://www.exceltip.com/show_tip/Excel_Pivot_Tables/Inserting_a_Calculated_Field_in_Excel_2007/1453.html
0
 

Author Closing Comment

by:bobdylan75
ID: 36527683
Thanks,
at the end I found it!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question