Pivot table column b - column A

charlesfowler72

New Member
Joined
Aug 9, 2012
Messages
37
Hi guys,

having some trouble with a calculated column on a pivot table. I thought it should be simple but apparently not. All I need to do is add a 3rd column which will be column B - column A giving me the difference. The pivot table looks as below.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Sectors[/TD]
[TD]201710[/TD]
[TD]201711[/TD]
[/TR]
[TR]
[TD]Sector A[/TD]
[TD]3[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Sector B[/TD]
[TD]4[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Sector C[/TD]
[TD]3[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD]10[/TD]
[TD]5[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
On the Excel menu at top, Analyze/Fields, items, & sets/
Add calculated field, name it something, select your 2 columns and make a formula for subtracting.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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