IPmt Function [VBA]

Calculates the periodic amortizement for an investment with regular payments and a constant interest rate.

warning

This constant, function or object is enabled with the statement Option VBASupport 1 placed before the executable program code in a module.


Syntax:


IPmt(Rate as Double, Per as Double, NPer as Double, PV as Double, [FV as Variant], [Due as Variant])

Return value:

Double

Parameters:

์ด์ž๋Š” ์ฃผ๊ธฐ์  ์ด์ž์œจ์„ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค.

Per is the period, for which the compound interest is calculated. Period=NPER if compound interest for the last period is calculated.

NPer๋Š” ์—ฐ๊ธˆ ๋‚ฉ๋ถ€ ๊ธฐ๊ฐ„์˜ ์ด ํšŸ์ˆ˜์ž…๋‹ˆ๋‹ค.

PV๋Š” ์ผ๋ จ์˜ ์ง€๋ถˆ์—์„œ ํ˜„์žฌ ํ˜„์ฐฐ ๊ฐ’์„ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค.

FV (์„ ํƒ ๊ฐ€๋Šฅ)๋Š” ๊ธฐ๊ฐ„์ด ๋๋‚œ ํ›„์˜ ์ตœ์ข…๊ฐ’(๋ฏธ๋ž˜์˜ ๊ฐ’)์ž…๋‹ˆ๋‹ค.

Due (optional) is the due date for the periodic payments.

0 - the payment is due at the end of the period;

1 - the payment is due at the beginning of the period.

Error codes:

5 ์ž˜๋ชป๋œ ํ”„๋กœ์‹œ์ € ํ˜ธ์ถœ์ž…๋‹ˆ๋‹ค.

Example:


Sub ExampleIPmt
 Dim myIPmt As Double
 myIPmt = IPmt(0.05,5,7,15000)
 Print myIPmt ' returns -352.97 currency units. The compound interest during the fifth period (year) is 352.97 currency units.
End Sub

Please support us!