HELP: Excel Formula using date as basis for interest

rcomag

New Member
Joined
Aug 23, 2019
Messages
37
Office Version
  1. 2013
  2. 2010
Platform
  1. Windows
Hello, newbie here. can someone please help on how to work on the formula using dates (year... if possible movable dates) as basis for computing the interest. i made a formula and i cant seem find anyway to have the year be moving, depending on the present year, or if possible to include the months for the computation of interest. thank you.

=IF(O13>=2020,R13*-20%, IF(O13=2019,R13*24%, IF(O13=2018,R13*48%, IF(O13>=1992,R13*72%, IF(O13>=1974, R13*24%, IF(O13<=1973, R13*12%))))))

:biggrin::biggrin::biggrin:
 
sorry, i just thought that the reply i made was not posted.
 
Upvote 0

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
ecomag,

Forget the formula for a moment and instead please explain where your expected results come from.

correct interest rate for year payment and as date of payment
REFERENCE YEAR AMOUNT
interest rate from FORMULAINTEREST
252,470.00A
20192019
2,524.700.1616%
23,640.00B
20182018236.40.1640%
23,640.00C
20172017236.40.1664%
23,640.00D
200120163,782.400.1672%

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

Let's skip Row A.

Row B has the same year, 2018, twice and I don't know why. The 40% expected could only be retrieved from your test data if you you were looking for August 2018. So are you saying the $Q$10 date of 27-Aug-19 should have the day and year ignored as you were only trying to specify a month to use?

Row C has the same questions. Why 2017 twice? Should it be retrieving $Q$10 month of the first 2017 or the second?

Row D has 2001 and 2016 years but why? Yes, I understand 72% is from the last entry for 1992 but why two years and no month?
 
Upvote 0
ecomag,

Forget the formula for a moment and instead please explain where your expected results come from.

correct interest rate for year payment and as date of payment
REFERENCE YEAR AMOUNTinterest rate from FORMULAINTEREST
252,470.00A
201920192,524.700.1616%
23,640.00B
20182018236.40.1640%
23,640.00C
20172017236.40.1664%
23,640.00D
200120163,782.400.1672%

<tbody>
</tbody>

Let's skip Row A.

Row B has the same year, 2018, twice and I don't know why. The 40% expected could only be retrieved from your test data if you you were looking for August 2018. So are you saying the $Q$10 date of 27-Aug-19 should have the day and year ignored as you were only trying to specify a month to use?

Row C has the same questions. Why 2017 twice? Should it be retrieving $Q$10 month of the first 2017 or the second?

Row D has 2001 and 2016 years but why? Yes, I understand 72% is from the last entry for 1992 but why two years and no month?



i was reffering to this table of penalties

TABLE OF PENALTIES
januaryfebruarymarchaprilmayjunejulyaugustseptemberoctobernovemberdecember
197312%12%12%12%12%12%12%12%12%12%12%12%
197424%24%24%24%24%24%24%24%24%24%24%24%
199272%72%72%72%72%72%72%72%72%72%72%72%
201750%52%54%56%58%60%62%64%66%68%70%72%
201826%28%30%32%34%36%38%40%42%44%46%48%
2019-10%-10%-10%8%10%12%14%16%18%20%22%24%
2020-20%-20%-20%-20%-20%-20%-20%-20%-20%-20%-20%-20%

<tbody>
</tbody>

40% on year 2018 because payment made is august 2019 (Q10), as per table (highlighted red). same as year 2017 which 64%. 2 columns for year because, from to to (2001-2016).
 
Upvote 0
OK, so the year in Q10 is not used. You just want a way of specifying the month to select from columns AC to AN.

I've removed the first set of years as we can't calculate for a range. The formula below takes the reference year from column A and the month from $Q$10 to retrieve a percentage from the table:


ABCDEFG
1REFERENCE YEARAMOUNTfrom original FORMULAExpected INTERESTNew FORMULATOTAL
220192,524.700.160.160.16403.952,928.65
32018236.400.160.40.494.56330.96
42017236.400.160.640.64151.30387.70
520163,782.400.160.720.722,723.336,505.73
6
7TOTAL6,779.903,373.1410,153.04

<tbody>
</tbody>
Sheet2

Worksheet Formulas
CellFormula
E2=IF(ISNA(MATCH(A2,$AB$19:$AB$25,0)),INDEX($AN$19:$AN$25,MATCH(A2,$AB$19:$AB$25,TRUE)),INDEX($AC$19:$AN$25,MATCH(A2,$AB$19:$AB$25,0),MONTH($Q$10)))
F2=E2*B2
G2=F2+B2
B7=SUM(B2:B6)
F7=SUM(F2:F6)
G7=SUM(G2:G6)

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
hello, tried the formula you have given me and its working. will try to analyze and learn more about the functions (isna), (match), (index) since i don't have any idea how it works. thank you very much. hopefully can learn more new things from you about the various excel formulas that i have no knowledge about and may help me in the future. again, big thanks to you. :) ;)
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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