Pivot table calculated field not correct???

ajm

Well-known Member
Joined
Feb 5, 2003
Messages
2,005
Office Version
  1. 365
Platform
  1. Windows
folks, i have a pivot table in which i wish to show the value of sales amount (calculated field) which, for each item, is the product of number of items sold and sale price. i have copied it to an adjacent part of the page to simplify the display for this post. also added the "should be" column. For single items (where the count of item code is 1), the Sum of Amt is correct. For anything more than a single item, the calculation is wrong. Have a look at the third item, 105. there are two counts of this item code. at a value of $37.15, the sum should be $74.30, not $148.60??? Why is that happening?

JKLMNO
4Bus UnitItem CodeFeeCount of Item CodeSum of AMTShould be
5BusUnitH 16,079 16941873907
60 2 $ -
7104 $ 73.85 1 $ 74 $ 73.85
8105 $ 37.15 2 $ 149 $ 74.30
9110 $ 130.20 839 $ 91,650,514 $ 109,237.80
10116 $ 65.20 10,969 $ 7,844,796,257 $ 715,178.80
11132 $ 227.70 83 $ 1,568,625 $ 18,899.10
12133 $ 114.00 53 $ 320,226 $ 6,042.00
1311700 $ 26.60 84 $ 187,690 $ 2,234.40
1413757 $ 62.05 1 $ 62 $ 62.05
1513760 $ 679.20 35 $ 832,020 $ 23,772.00
1614221 $ 44.65 3,270 $ 477,437,985 $ 146,005.50
1730084 $ 50.00 543 $ 14,742,450 $ 27,150.00
1830087 $ 25.05 197 $ 972,165 $ 4,934.85

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Forum statistics

Threads
1,214,784
Messages
6,121,536
Members
449,037
Latest member
tmmotairi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top