Display balance in pivot table

SemperFi

New Member
Joined
Aug 21, 2014
Messages
22
Hello Team

I'm hoping someone can shed some light on this problem. I have an accounts payable table where the expenses are listed by incident numbers or PR, I'm using the incident number as the "primary key" since is unique to the expense (the PR is unique as well and either one can be used), this would be the equivalent of a many to many types of listing where I can have multiple incidents or PR (as one unit) with different invoices and expenses (invoice amount). Each PR or Incident has an approved amount once I near 30% of that amount I'll need to request more funds. The problem that I'm having is that when I run a pivot, the approved amount is listed as one unit, which is great, but the total available is listed as each individual expense, and I need the total available to "subtract all expenses (related to either the PR/Incident), from the approved amount.

In the image you can see some highlighted entries where the incident/PR are repeated units with different amounts reported, some are in zero amounts. The idea is to group all expenses from either the PR or incident an subtract the invoice amount from the approved amount so I can show one general balance. See example below:

Please note: the approved amount will never change, is a fixed number for the life of the expense, the invoice amount will change.

1671555454296.png



Thank you
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi - Welcome to MrExcel !

It can be resolved if you use PivotTable Analyze - Fields, Items & Sets. This allows you to perform additional calculations which is apart from the Pivot results.
 
Upvote 0
Hi thank you for your help. Sorry for the late reply got Covid and was horrible. I tried your suggestion and it solved the issue. Thank you
 
Upvote 1

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