Using SUMIF(?) in a Pivot Table to only show amounts for certain fields

cappla011

New Member
Joined
Mar 13, 2013
Messages
35
Office Version
  1. 365
Platform
  1. Windows
Hello,

Not sure if this is possible, but I figured I'd ask.

I have a Pivot Table that is broken out by the 5 different USSGL GROUPs listed in the below screenshot. I want to add a new Calculated Field that only shows the Sum of the Amount for the Cumulative of Commitments (aka. COMMITMENTS (CUM)), which would be 47xx Commitments + 48xx UDO + 49x1 Unpaid Expenditures + 49x2 Paid Expenditures (so only leaving 4610 Allotment out). Is it possible to use a SUMIF to create a new Calculated Field?

Also I want to note that I was able to do a Calculated Item in the USSGL GROUP to show the COMMITMENTS (CUM), but it only allows the Calculated Item to show up under the USSGL GROUP Row. I was hoping to add an entirely new Row (I assume using Calculated Field) to show the COMMITMENTS (CUM).

Screenshot 2024-12-20 111355.png


Ultimately I'm trying to get the Pivot Table to automatically spit out a table that looks more like the bottom screenshot. Thank you for your help.

Screenshot 2024-12-20 112314.png
 
Last edited:

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Why not group the commitments either in Power Query or with the GroupBy Function and then pivot your data either in Power Query or in Native Excel.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,155
Members
453,021
Latest member
Justyna P

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