Pivot Table - Sum column

OceanIT

New Member
Joined
Jun 30, 2014
Messages
8
Hi all

Struggling with something that is probably really easy to do, but can't get my head around it.

Basically I've downloaded from our Accounts system all products sold to customers and the sales price.

Pivot table shows these products, the QTY sold (sum) and the Sales Price (sum) but doesn't show the customer column.

What I'm now trying to do is add another column to the end of the Pivot Table so I can get the Sales Price (sum) for just a specific customer to compare to the overall Sales Price (sum)

I've managed to use a SUMIF in the data table which totals the Sales Price where the criteria is product code and the specific customer.
This value then appears in every row where that product has sold to the customer - and when this column is added to the Pivot table, it sums them all together which is not what I want to do.

Any ideas? Thanks in advance
Luke
 
Last edited:

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I now need to go into a meeting to discuss these figures. I cant attach the data as its confidential; I had to quickly make up those items on the one I attached

will try and get something over to you later today
 
Upvote 0
Something like this does what you want but needs a bit of understanding to alter it to requirements:

=SUMPRODUCT(--(RawData!A1:A1000="Customer Name"),--(RawData!D1:D1000=D3),RawData!C1:C1000)

Where RawData!A:A houses the customers, RawDataD:D houses the product codes and RawData!C:C the sales net.
 
Upvote 0

Forum statistics

Threads
1,216,766
Messages
6,132,596
Members
449,738
Latest member
brianm3y3r

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