Pivot filter allocating by cost centre

posiwodo

New Member
Joined
Sep 1, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi all - I'm new to the forum so thanks for everything you do to help the Excel community! Usually I get to Excel answers through a quick internet search but for the life of me I cannot get my head around this one...

I have one table with a list of invoices and an allocation of each invoice (in percentages) by cost centre - the percentages will always add up to 100%:

Invoice #Cost Centre 1Cost Centre 2Cost Centre 3
120%45%35%
2100%0%0%
325%75%0%

Then in another table I have the amount of each invoice:

Invoice #Amount ($)
1100
2150
3125

Now I'd really like to have a pivot table with the Invoice # as rows, the Amount as Values and a "Cost Centre" filter. So, for example, I could filter by Cost Centres 1 and 3 only, and the values that would show are:

Invoice #1 = (20% * $100) + (35% * $100) = 55
Invoice #2 = (100% * $150) + (0% * $150) = 150
and so on...

I feel like I either need some form of SUMPRODUCT table that can do a Cost Centre lookup or some form of pivot calculation. I'm relatively comfortable with Pivot Tables and Power Pivot relationships but a real novice when it comes to DAX and VBA so a non-code solution would be ideal if at all possible. Thanks in advance!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,215,051
Messages
6,122,871
Members
449,097
Latest member
dbomb1414

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