Pro rata formula question

az168

New Member
Joined
Oct 21, 2020
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Hi, I am new to this forum and have been baffled with a formula that I just can't get.

I have an annual charge of £3,060 that is for the period 15/09/20 to 26/11/20.
Which in effect is 73 days, making the charge £620.50 for that whole period.

But I now want to split it out into months, so in Sept the charge is xxx, October the charge is xxx and November the charges is xxx

What formula do I need to automatically calculate the pro rata charge per month?
Also the months that fall out of that criteria would then show as 'nil'

Any help would be very much appreciated.
Thanks
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Assuming 620.50 is the correct amount that you wish to allocate.
E2 etc are dates like Sep 1 2020

T201809.xlsm
ABCDEFGH
1
2AmountStartEndTotalSep-20Oct-20Nov-20Dec-20
3620.5015-Sep-2026-Nov-2073136.00263.50221.000.00
2d (2)
Cell Formulas
RangeFormula
D3D3=C3-B3+1
E3:H3E3=MAX(0, MIN(EOMONTH(E$2, 0), $C3) + 1 - MAX(E$2, $B3))/$D3*$A3
 
Upvote 0
Solution
Assuming 620.50 is the correct amount that you wish to allocate.
E2 etc are dates like Sep 1 2020

T201809.xlsm
ABCDEFGH
1
2AmountStartEndTotalSep-20Oct-20Nov-20Dec-20
3620.5015-Sep-2026-Nov-2073136.00263.50221.000.00
2d (2)
Cell Formulas
RangeFormula
D3D3=C3-B3+1
E3:H3E3=MAX(0, MIN(EOMONTH(E$2, 0), $C3) + 1 - MAX(E$2, $B3))/$D3*$A3
Thank you so much, that has done the trick nicely.

I've racked my brains to try to figure it out, when all I had to do was ask the experts.
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,580
Members
449,089
Latest member
Motoracer88

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