Excel PMT Calculation
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37963
interpreted = N
texte = I'm trying to calculate the payment for a loan that yields the sameresult as Excel using their PMT formula. The variables are the interestrate, number of periods for the term of the loan in months, and theprincipal amount of the loan.The problem is that my results are not the same as those produced byExcel even though I'm using the same formula that Excel uses.The Excel formula is: =(PMT(rate,number of payments,loan amount))The Excel docs say that the formula is:PMT=(rate*(FV+PV*(1+rate)^nper))/((1+rate*type)*(1-(1+rate)^nper))The type is 0 if the payment is at the end of a period or 1 at thebeginning. It is 0 in this case. I'm using the following where:Interest rate is 8% ([rate]=.08)Term is 36 months ([nper]=36)Loan Amount is 20,000 ([PV]=20000)I calulate the monthly payment ([mpayment]) using:[math][nper]/1[/math][text]numperM=[math]([nper]/1)[/math][/text][text]mrate=[math][rate]/[numperM][/math][/text][text]mpayment=[math]([mrate]*([PV]*(1+[mrate])^[numperM]))/((1+([mrate]*0))*(1-(1+[mrate])^[numperM]))[/math][/text]This produces a monthly payment of $578.69, where Excel produces amonthly payment of $626.73.I'm unable to figure out why there is a difference. Is is a rounding ofvariables problem or some other weirdness by Excel?Any help would be appreciated.Richard Kirsner-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I'm trying to calculate the payment for a loan that yields the sameresult as Excel using their PMT formula. The variables are the interestrate, number of periods for the term of the loan in months, and theprincipal amount of the loan.The problem is that my results are not the same as those produced byExcel even though I'm using the same formula that Excel uses.The Excel formula is: =(PMT(rate,number of payments,loan amount))The Excel docs say that the formula is:PMT=(rate*(FV+PV*(1+rate)^nper))/((1+rate*type)*(1-(1+rate)^nper))The type is 0 if the payment is at the end of a period or 1 at thebeginning. It is 0 in this case. I'm using the following where:Interest rate is 8% ([rate]=.08)Term is 36 months ([nper]=36)Loan Amount is 20,000 ([PV]=20000)I calulate the monthly payment ([mpayment]) using:[math][nper]/1[/math][text]numperM=[math]([nper]/1)[/math][/text][text]mrate=[math][rate]/[numperM][/math][/text][text]mpayment=[math]([mrate]*([PV]*(1+[mrate])^[numperM]))/((1+([mrate]*0))*(1-(1+[mrate])^[numperM]))[/math][/text]This produces a monthly payment of $578.69, where Excel produces amonthly payment of $626.73.I'm unable to figure out why there is a difference. Is is a rounding ofvariables problem or some other weirdness by Excel?Any help would be appreciated.Richard Kirsner-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Richard Kirsner
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Open Databases on Restart (1999)
OFF Topic - Web-Stat App (2003)
Associative lookup style? (1997)
Only charge card when product shipped ? (1997)
Running 2 two WebCatalog.acgi's (1996)
shipcost (1997)
Need help... (1997)
wierd [cart] action! (1997)
Web Browser %Numbers - A must read for web developers (2003)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Help!!!! Purchases not going through! (1997)
WebCat2 - [format thousands] (1997)
$Append for Users outside the ADMIN group (1997)
WebCat for mass emailings (1997)
Wrapping text (1998)
Editing Users.db (1997)
WebCatalog 4.0.2rc1 and rc2 crash WebSTAR on quit (2001)
Writefile, Raw & include (2002)
Configuring E-mail (1997)
RE: Can't get appendfile to work (1997)