Dynamic Allocation of Values

DSP VARMA

New Member
Joined
Dec 27, 2016
Messages
9
The circled ones in the given screenshot are the fixed expenses per month which are divided equally by the days of the respective month.
1662312629983.png


These fixed expenses are further allocated to 4 (out of 10) main domains in a particular ratio.

For eg., the total personnel cost per day is 10,277.82. This cost is allocated to AE - 879.8, COM – 2,085, SA – 7,168, EG - 145 and for the rest it is 0.

I used the following formula for this

Personnel = if(HASONEFILTER(DOMAIN[Domain]),IF(CONTAINS(DOMAIN,DOMAIN[Domain],"AE"),879.8,IF(CONTAINS(DOMAIN,DOMAIN[Domain],"COM"),2085.26666666667,IF(CONTAINS(DOMAIN,DOMAIN[Domain],"SA"),7167.76666666667,IF(CONTAINS(DOMAIN,DOMAIN[Domain],"EG"),145,IF(CONTAINS(DOMAIN,DOMAIN[Domain],"NOMAD"),0,IF(CONTAINS(DOMAIN,DOMAIN[Domain],"QA"),0,IF(CONTAINS(DOMAIN,DOMAIN[Domain],"BH"),0,IF(CONTAINS(DOMAIN,DOMAIN[Domain],"OM"),0,IF(CONTAINS(DOMAIN,DOMAIN[Domain],"CO"),0,IF(CONTAINS(DOMAIN,DOMAIN[Domain],"JO"),0)))))))))),10277.83)

1662313116008.png




Same wise for the rest of the fixed expenses in the given screenshot.

In each fixed expense formula, I enter domain allocation expenses manually.

1. Can I make the arrow values dynamic?
  • Eg. If I change the Total Column value all the numbers in the formula should change
TotalAECOMSAEG
8.56%​
20.29%
69.74%​
1.41%​
Personnel
10,278​
8802,0857,168145
General Administration
119​
1024832
IT Expenses
1221​
10524885217
Rent and Lease
1273​
10925888818


2. The total Column value at the last is showing the same as the remaining columns. Instead, it should show the aggregate for 31 or 30 days as per the days of the month.

1662313406732.png
 

Attachments

  • 1662312898201.png
    1662312898201.png
    62.8 KB · Views: 5

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,223,632
Messages
6,173,467
Members
452,516
Latest member
archcalx

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