Calculated Column in Pivot Table

EdStockton

New Member
Joined
Aug 6, 2014
Messages
47
Hello All,

I have a pivot table into which I would like to total certain columns. The pivot table is structured as follows:

This is what my pivot table looks like
00000000 Total02150215 Total10011001 TotalGrand Total
OPCPCFPOPCPOPMACFPBONDOPCPOPMACFP
1111012224,5027,6492012,1715,6009821,3657,94720,140
11233338,7038,7039,8769,87618,612
1214499764764777
12417178,7348,734342123549,105
126300300306,7386,7685837,2347,81714,885
126.1(145)(145)(628)(628)(1,638)(1,638)(2,411)
126.2(132)(132)(53)(53)(185)
1289009005367251,2612301,3259822,5374,698
128.1(35)(35)(13)(200)(213)(450)(450)(698)
12920951159014223236245281628
1421,2001,2001,1841,1843,4252,2005,6258,009
143659631,0285845845,6325,6327,244
143.1(20)(20)(36)(36)(2,501)(2,501)(2,557)
1447937937377372,3742,3743,904
3,1451,0674,2127,06614,98317,32539,3745,8308,56413,51910,65238,56582,151
Here is what I would like to do with my pivot table
00000000 Total02150215 Total10011001 TotalGrand Total
OPCPCFPOPCPOPMASubtotalCFPBONDOPCPOPMASubtotalCFP
1111012224,5027,64912,1512012,1715,6009821,3657,9477,94720,140
112333308,7038,70309,8769,87618,612
Subtotal4312554,5027,64912,1518,72320,8745,6009821,3657,9479,87617,82338,752
121449990764764777
124171708,7348,734342342123549,105
126300300306,7386,7686,7685837,2347,8177,81714,885
126.1(145)(145)(628)(628)(628)(1,638)(1,638)(1,638)(2,411)
126.20(132)(132)(53)(53)(53)(185)
1289009005367251,2611,2612301,3259822,5372,5374,698
128.1(35)(35)(13)(200)(213)(213)(450)(450)(450)(698)
12920951159014223223236245281281628
Subtotal1,0441121,1566436,7867,4298,60216,0312301,7836,8238,8367769,61226,799
1421,2001,2001,1841,1841,1843,4252,2005,6255,6258,009
143659631,0285845845845,6325,6325,6327,244
143.1(20)(20)(36)(36)(36)(2,501)(2,501)(2,501)(2,557)
1447937937377377372,3742,3742,3743,904
Subtotal2,0589433,0011,9215482,46902,46905,7995,33111,130011,13016,600
3,1451,0674,2127,06614,98322,04917,32539,3745,8308,56413,51927,91310,65238,56582,151

<tbody>
</tbody>



Your help would be appreciated. The first layer of columnar data is referred to as ProgNum. The second layer of columnar data is the Program. The possible options for the Programs are BOND, OPCP, OPMA and CFP. I would like to get a subtotal column for the programs BOND, OPCP, and OPMA. These Programs may or may not all exist for each ProgNum.

Thank you, Ed Stockton
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,215,350
Messages
6,124,431
Members
449,158
Latest member
burk0007

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