pivot table add formula

aam1932

Board Regular
Joined
Jun 2, 2010
Messages
181
FY
cODE
Description
Amount
12
a001
car
24
12
a002
bus
52
13
a001
car
42
13
a002
bus
24
14
a001
car
24
14
a004
van
45
15
a006
motor
5

<tbody>
</tbody>
Hai

I need help on how to do calculation in pivot table, data example as below

I want in pivot table add column to make variance between exp. fy 12 less fy 13 by account, fy 14 less fy 15 etc.

thank in advance on this, I really need help on this.
 

Some videos you may like

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

francoisdublin

New Member
Joined
Jan 23, 2014
Messages
32
This is what I have done

Insert a PivotTable
-in Row Labels, drag FY field
-in Values, drag Amount - it shows as Sum of Amount
-in Values, drag Amount a second time - it shows as Sum of Amount 2

Right-click any value in Sum of Amount 2, select Value Field Settings and change the following: in Show Values As tab, select Difference From in the dropdown. The Base field should be FY and the Base Item should be (previous)

Hope this helps
 

Watch MrExcel Video

Forum statistics

Threads
1,122,564
Messages
5,596,875
Members
414,106
Latest member
Tigretto

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
Top