• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 355
  • Last Modified:

excel pivot table and simple division column

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
bobdylan75
Asked:
bobdylan75
  • 3
  • 2
1 Solution
 
MakriniCommented:
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
 
bobdylan75Author Commented:
Thanks Makrini,
I use office 2007.
Now I try.
0
 
bobdylan75Author Commented:
I don't understand why,
but I have not Fields tab or something like that.
0
 
MakriniCommented:
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
 
bobdylan75Author Commented:
Thanks,
at the end I found it!
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now