Adding Calculated Field with multiple Columns

alphabo1201

New Member
Joined
May 2, 2019
Messages
16
Hello,

Is there any way to create a calculated field when there is multiple columns in pivot table?
there is two fields inserted in to column section and use the number from there to create calculated field.

I am trying to create Rev Prod- cost 1 field.

For example: Data would look like this
NameoverallDetail Net
aRevenueRev ser10
bRevenueRev Prod10
acostcost 15
bcost cost 33
eG&AG&A5
fG&AG&A5
gETCETC1

<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>
</tbody>


Once pivoted:


Sum of NetColumn Labels
RevenuecostETCG&A
Row LabelsRev ProdRev sercost 1 cost 3ETCG&A
a105
b103
e5
f5
g1
Grand Total101053110

<colgroup><col><col><col><col><col span="2"><col></colgroup><tbody>
</tbody>
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
vABCDEFGHIJKLMN
1NameoverallDetailNet
2aRevenueRev ser10Sum of NetDetail
3bRevenueRev Prod10Nameoverallcost 1cost 3ETCG&ARev ProdRev ser
4acostcost 15a
5bcostcost 33Revenue10
6eG&AG&A5cost5
7fG&AG&A5b
8gETCETC1Revenue10
9cost3
10e
11G&A5
12f
13G&A5
14g
15ETC1
16

Name and Overall in rows
Detail in Columns
Net in Valuses (sum)
 
Upvote 0

Forum statistics

Threads
1,214,402
Messages
6,119,301
Members
448,885
Latest member
LokiSonic

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