View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
gramos14
 
Posts: n/a
Default Pivot Tbl Calc Field using %'s

My underlying data table has 20k rows similar to this:

Customer % of Cost Cost $
Customer 1 10% $100
Customer 1 30% $400
Customer 1 60% $500
Customer 2 30% $300
Customer 2 70% $800

I created a pivot table with a calculated field with this formula (% of Cost
* Cost $). The calculation works fine in the pivot at the lowest level, but
the sum of all customers is incorrect. It seems the calc field sums all the
%'s and all the Costs first and then does the calculation.

Any ideas how I can get the calc field to multiply each % and associated
cost first and then sum all the results together?