Excel formula for calculating interest due.

Golfpro1286

New Member
Joined
Aug 22, 2018
Messages
30
I am trying to calculate interest due on a Per-Diem basis when the interest rate changed during a given time period. For example, our institution sends out $100M on 05/20/2018 and charges an interest rate of WSJ Prime (adjusting daily) on a Per-Diem Basis. We receive a payoff request for 6/30/18 and need to calculate the interest due. At the time of disbursement interest rate was 4.75%, but on 6/14/18 Prime changed to 5.00%. So from 5/20/18-6/14/18 the $100M would be earning interest at 4.75% and from 6/15/18-6/30/18 it earned interest at rate of 5.00%. Below is the spreadsheet we use to track this.

A
B
C
D
E
F
G
DISB DATE
Loan #
NAME
WIRE AMOUNT
PAYOFF DATE
INTEREST DUE
# DAYS CLS/PUR
5/20/2018
123456
TEST1
$100,000.00
6/30/2018

41

<tbody>
</tbody>

I have a table in a separate tab indicating dates of interest rate change:

Effective Date
Rate
9/27/2018
5.25%
6/14/2018
5.00%
3/22/2018
4.75%
12/14/2017
4.50%
6/15/2017
4.25%
3/16/2017
4.00%
12/15/2016
3.75%
12/17/2015
3.50%
12/16/2008
3.25%

<tbody>
</tbody>

Thanks for any help!
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
You pretty much have to calculate the interest on a daily basis and add. Try:


ABCDEFGHIJKLMNOPQ
1DISB DATELoan #NAMEWIRE AMOUNTPAYOFF DATEINTEREST DUE# DAYS CLS/PUREffective DateRateDateBalanceInterestRate
25/20/2018123456TEST1$100,000.006/30/2018$546.664112/16/20083.25%5/20/2018$100,000.00
312/17/20153.50%5/21/2018$100,013.01$13.014.75%
412/15/20163.75%5/22/2018$100,026.03$13.024.75%
53/16/20174.00%5/23/2018$100,039.05$13.024.75%
66/15/20174.25%5/24/2018$100,052.06$13.024.75%
712/14/20174.50%5/25/2018$100,065.09$13.024.75%
83/22/20184.75%5/26/2018$100,078.11$13.024.75%
96/14/20185.00%5/27/2018$100,091.13$13.024.75%
109/27/20185.25%5/28/2018$100,104.16$13.034.75%
115/29/2018$100,117.18$13.034.75%
125/30/2018$100,130.21$13.034.75%
135/31/2018$100,143.24$13.034.75%
146/1/2018$100,156.28$13.034.75%
156/2/2018$100,169.31$13.034.75%
166/3/2018$100,182.35$13.044.75%
176/4/2018$100,195.38$13.044.75%
186/5/2018$100,208.42$13.044.75%
196/6/2018$100,221.46$13.044.75%
206/7/2018$100,234.51$13.044.75%
216/8/2018$100,247.55$13.044.75%
226/9/2018$100,260.60$13.054.75%
236/10/2018$100,273.64$13.054.75%
246/11/2018$100,286.69$13.054.75%
256/12/2018$100,299.74$13.054.75%
266/13/2018$100,312.80$13.054.75%
276/14/2018$100,326.54$13.745.00%
286/15/2018$100,340.28$13.745.00%
296/16/2018$100,354.03$13.755.00%
306/17/2018$100,367.77$13.755.00%
316/18/2018$100,381.52$13.755.00%
326/19/2018$100,395.27$13.755.00%
336/20/2018$100,409.03$13.755.00%
346/21/2018$100,422.78$13.755.00%
356/22/2018$100,436.54$13.765.00%
366/23/2018$100,450.30$13.765.00%
376/24/2018$100,464.06$13.765.00%
386/25/2018$100,477.82$13.765.00%
396/26/2018$100,491.58$13.765.00%
406/27/2018$100,505.35$13.775.00%
416/28/2018$100,519.12$13.775.00%
426/29/2018$100,532.89$13.775.00%
436/30/2018$100,546.66$13.775.00%

<tbody>
</tbody>
Sheet6

Worksheet Formulas
CellFormula
F2=VLOOKUP(E2,L2:M43,2)-D2
L2=A2
M2=D2
L3=L2+1
M3=M2+N3
N3=M2*O3/365
O3=VLOOKUP(L3,$I$2:$J$10,2)

<tbody>
</tbody>

<tbody>
</tbody>





Starting with the date and balance in L2 and M2, the L3 formula just increments the date on a daily basis. The O3 formula looks up the rate from your table. Then the N3 formula calculates the daily interest, and the M3 adds it in. Copy the L3:O3 formulas down the columns as far as needed. Then the F2 formula calculates the interest from the last balance minus the original amount. (Note that I inverted your interest table for ease of use.)

I'm a little surprised you're using Excel for this though. There are some specialized software tools for this kind of thing, and if you're dealing with $100M loans, I think you'd want to get something designed for it.
 
Upvote 0
It is a small group of one-time shorter term loans so they don't want to pay for, just need something to make sure our math is right. I will give this a shot and let you know if there are any issues.

Thanks!
 
Upvote 0
The formulas are based on A2, D2 and E2. Change those three cells, and make sure the L2:O3 formulas are copied down as far as needed, then you can do multiple loans. If you want to have multiple loans visible at once, I'd just add a new tab, then copy these formulas to the new tab and change the A2:E2 values. In theory, I could write a macro that calculates the total in F2 without the need for columns L:O, but you'd lose all the detail.
 
Upvote 0
Hi,

Here's another approach, if you have Multiple loans to evaluate, we can adjust the set up to suit:


Book1
ABCDEFG
1DISB DATELoan #NAMEWIRE AMOUNTPAYOFF DATEINTEREST DUE# DAYS CLS/PUR
25/20/2018123456TEST1$100,000.006/30/2018544.5241
3
4
5Effective DateRate
69/27/20185.25%0.00
76/14/20185.00%219.18
83/22/20184.75%325.34
912/14/20174.50%0.00
106/15/20174.25%0.00
113/16/20174.00%0.00
1212/15/20163.75%0.00
1312/17/20153.50%0.00
1412/16/20083.25%0.00
Sheet295
Cell Formulas
RangeFormula
F2=SUM(C6:C14)
C6=IF(OR(A6>E$2,A5),0,IF(AND(A$2E$2),(E$2-A6)*B6*D$2/365,(A5-A$2)*B6*D$2/365))


C6 formula copied down.
 
Upvote 0

Forum statistics

Threads
1,216,037
Messages
6,128,439
Members
449,453
Latest member
jayeshw

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