Dynamic formulas for Prepayment Table

JEB85

Board Regular
Joined
Aug 13, 2010
Messages
238
Hi,

I'm trying to come up with a formula that will calculate the expense for the period, based on a start and end date for a service, a rate per day, and the various month end dates.

In this case, the rate per day would be £55.56 which would need to be expensed over the 02/05/2022 - 30/07/2022 with the first month end date being 23/04/2022, the second month end date being 28/05/2022 etc.

I have manually keyed in what the values should be each month, i'm just looking for a formula i can use to more efficiently populate the table?

The days at the bottom of the table are just for reference.

AmountStart DateEnd DateDaysRate per Day £
23/04/2022​
28/05/2022​
25/06/2022​
23/07/2022​
27/08/2022​
24/09/2022​
22/10/2022​
Total
5,000​
02/05/2022​
30/07/2022​
90​
55.56​
0​
1,500​
1,556​
1,556​
389​
5,000​
Days
27​
28​
28​
7​
90​

Thanks
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,215,222
Messages
6,123,709
Members
449,118
Latest member
MichealRed

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