Pivot Table Summation Problem

sv

New Member
Joined
May 6, 2002
Messages
1
I am having problems in summation of data in Pivot Table. The source of the data is a 'One to Many' query in MS Access. The name of the master table is 'OrderMaster' and it contains the fields 'OrderNo', 'OrderDate', 'Customer','Location' and 'OrderValue' The details table is called 'OrderDetails' which contains the fields 'OrderNo', 'ProductOrdered' and 'QuantityOrdered'. The tables are related on the field 'OrderNo'.
The 'OrderValue' field is displayed in the 'Data' section of the Pivot Table. The problem is that due to the One to Many relationship, the 'OrderValue' could be repetitive. This results is wrong SubTotals and GrandTotals. For e.g. if OrderNo 'Ord111' of '100000' OrderValue has 2 entries in the 'OrderDetails' table, the value displayed for the 'OrderValue' is double the actual value. This wrongly shows that the OrderNo 'Ord111' is of '200000' OrderValue.

This problem can be solved by using 'Average' instead of using 'Sum' in the 'Data' section for the 'OrderValue' field. But in this case, the SubTotals as also the GrandTotals also show the 'Average' values. We would want the SubTotals and GrandTotals to show the 'Sum' of the 'Average' values.

Please help.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,214,909
Messages
6,122,189
Members
449,072
Latest member
DW Draft

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