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
Solved

excel pivot table and simple division column

Posted on 2011-09-12
5
314 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
  • 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 500 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 code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

840 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