Prorata over a table

ruthhacche

Board Regular
Joined
Sep 22, 2017
Messages
84
I have a table with sales per account filtered for August. I have a measure that calculates the direct costs = 175 and that splits correctly per account because it is derived per order per account anyway. I have another measure that calculates the fixed costs for August = 100 but that does not relate to an order or an account - I want to allocate it over each of the accounts - pro rata to the sales as below. Will be obvious to most I am sure.


1585407772736.png
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi

Enter your fixed costs away from your table by month as shown below.

1585420917359.png


Then enter the following formula in Fixed Costs field and copy it down

=C2/SUMIFS(C:C,A:A,A2)*VLOOKUP(A2,J:K,2,FALSE)

Aug
1585421052733.png


Sep
1585421115674.png


Kind regards

Saba
 

Attachments

  • 1585421099707.png
    1585421099707.png
    23.6 KB · Views: 5
Upvote 0

Forum statistics

Threads
1,223,796
Messages
6,174,657
Members
452,575
Latest member
Fstick546

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