Split payment based on date

JDJong

New Member
Joined
May 2, 2018
Messages
39
Hey all,

I am having trouble to come up with a formula to auto-populate the split amount based on the starting period (Column A) and ending period (Column B)

I have been able to split the amount with formula, however, I would like to Transfer them to the respective periods in column H - column V based on the period that they fall into.

Could you guys help me to come up with a formula to Auto-populate the sheet?

Many thanks in advance~!
A B C E F
Period StartPeriod EndAmount1st period2nd period
10/12/201709/01/2018 70.525,0049367,5021157,50
11/12/201710/01/2018 30.000,0020000,0010000,00
21/11/201720/12/2017 57.000,0017689,6639310,34
26/12/201725/01/2018241.800,0040300,00201500,00
17/12/201716/01/2018 89.900,0041953,3347946,67
30/12/201729/01/2018 69.750,002325,0067425,00
29/12/201728/01/2018 71.300,004753,3366546,67
03/01/201802/02/2018 60.140,0056130,674009,33
08/12/201707/01/2018 58.280,0044681,3313598,67
09/12/201708/01/2018 62.000,0045466,6716533,33
09/12/201708/01/2018 69.750,0051150,0018600,00
07/12/201706/01/2018 65.100,0052080,0013020,00
23/12/201722/01/2018 40.145,0010705,3329439,67
07/12/201706/01/2018 52.000,0041600,0010400,00
24/12/201723/01/2018 50.187,2211710,3538476,87
23/12/201722/01/2018 42.375,3711300,1031075,27
09/12/201708/01/2018 9.401,006894,072506,93
14/12/201713/01/2018 35.852,0620316,1715535,89
23/12/201722/01/2018 31.000,008266,6722733,33
01/12/201731/12/2017 68.200,000,0070473,33
11/12/201710/01/2018 56.265,0037510,0018755,00
20/12/201719/01/2018 88.350,0032395,0055955,00
29/12/201728/01/2018170.283,5911352,24158931,35
18/12/201717/01/2018 12.400,005373,337026,67
13/12/201712/01/2018107.100,0064260,0042840,00

<colgroup><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>

in E2 = IF(IF(MONTH(A2)<>MONTH(B2);C2/(B2-A2)*DAY(EOMONTH(A2;0)-DAY(A2)));IF(MONTH(A2)<>MONTH(B2);C2/(B2-A2)*DAY(EOMONTH(A2;0)-DAY(A2)));O2)

in F2 =C2/(B2-A2)*DAY(B2)


01/11/201701/12/201701/01/201801/02/201801/03/201801/04/201801/05/201801/06/201801/07/201801/08/201801/09/201801/10/201801/11/201801/12/201801/01/2019
49367,521157,5
2000010000
17689,6551739310,34483
40300201500
41953,3333347946,66667

<colgroup><col span="3"><col span="12"></colgroup><tbody>
</tbody>

The ones that are marked in red are the expected results
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,215,054
Messages
6,122,897
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