Calculate interest receivable based on variable rate / month by number of days remaining in period

marissa2

New Member
Joined
Apr 23, 2022
Messages
4
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
I have a party that refunds me interest for a set term in days based on a varying rate per month. They tend to drop the ball and under pay me. I would like a formula to calculate how much they owe me. I know how many days they owe, with a table showing the rate for each month, the amount they owe me on, etc. I have everything except the formula because rates change and days owing can flow into multiple months. For instance, in the sample data, for the second row (unit 50185), I am expecting to receive 1 day in July @ 2.41% plus 31 days in August @ 2.41% plus 22 days in September @ 2.43%. I've tried nested if statements based on EOMONTH*VLOOKUP but for some months the formula goes on for miles. I'm wondering if a nested IPMT might do or if there's a better way?

1650739003116.png
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
can you give an example with the XL2BB-tool because an image doesn't work great.
Is the interest rate something fixed per month or is it per unit&month ? Where can you find that ? That pivottable or somewhere else ?
How is your interest rate defined ? is it 2.41% per year, thus 2.41/365 % per day or is it compounded interest per day?
 
Upvote 0
it can become something like this
Marissa.xlsx
Cell Formulas
RangeFormula
F1:P1F1=EDATE(E1,1)
E2:P2E2=VLOOKUP(E1,Tabel1,2,0)
E3:P3E3=+E2/365
E5E5=SUM(Tabel2[month1])
F5F5=SUM(Tabel2[month2])
G5G5=SUM(Tabel2[month3])
H5H5=SUM(Tabel2[month4])
I5I5=SUM(Tabel2[month5])
J5J5=SUM(Tabel2[month6])
K5K5=SUM(Tabel2[month7])
L5L5=SUM(Tabel2[month8])
M5M5=SUM(Tabel2[month9])
N5N5=SUM(Tabel2[month10])
O5O5=SUM(Tabel2[month11])
P5P5=SUM(Tabel2[month12])
E7:P10E7=MAX(0,MIN(F$1,$D7+1)-MAX(E$1,$C7))*E$3*$B7
 
Upvote 0
Solution
Thanks! Yes, the percentages are annual and change every month having nothing to do with the actual units involved. What you've laid out is almost exactly what I came up with. I used the MAX MIN formula to calculate days (I found that in another thread...works beautifully), but then used a SUMPRODUCT of the # of days per month * daily interest rate * price. I'm liking the visual display of facts over a miles long formula now that I'm looking at it more.

Thank you for the reply. It's always great to have your thought process validated. :)
 
Upvote 0
to show you the difference between annual rate / 365 or compounded interest
test-rus (1).xlsm
FGHIJ
80interest
812%divided by 3650,00548%1,6438 €
82compounded intrest0,00543%1,6289 €
830,0149 € difference
84amount1.000 €
85days30
RUST
Cell Formulas
RangeFormula
H81H81=+F81/365
H82H82=+POWER(1+F81,1/365)-1
I81I81=+$H$84*H81*H85
I82I82=+H84*(POWER(1+H82,H85)-1)
I83I83=+I81-I82
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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