how to insert calc fields in a pivot table

bigdan

Well-known Member
Joined
Oct 5, 2009
Messages
768
I have a pivot table with a ****load of fields. It would help if I could insert calculation fields within the pivot itself rather than doing it externally.

With the data below I'd like to create a field which shows the Profit per Order and the Shipping Cost per Order.

I went to the Analyze tab, Fields Items and Sets, Calculated Field, so I think I got that part handled. But evidently something didn't work there. When I tried to find the Shipment Cost / Order, the numbers should be $31K divided by 400 orders, but for some reason the result I got was 5. Not sure what I did wrong.

Is there a way to see what's being calculated?


Province# of OrdersShipping CostProfit
ON50$500$20
PQ20$300$10

<tbody>
</tbody>
 

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
7,793
Office Version
365
Platform
Windows
Is that table how your data is set out? It should be just as you said Shipping Cost/Number of orders. Make sure all your numbers are indeed numbers and not text.
 

Forum statistics

Threads
1,082,305
Messages
5,364,401
Members
400,800
Latest member
germanpbv

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top