Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

傳回 Double,根據定期、固定付款和固定利率來指定年金的未來值。

語法

FV ( rate, nper , pmt [pv ] [, type ] )

FV 函數語法具有下列自變數:

引數

描述

rate

必要。 Double 指定每期利率。 例如,如果您的汽車貸款的年利率 (APR) 是10%,並且每月付款,則每期的利率為 0.1/12 或 0.0083。

nper

必要。 指定年金之總付款期數的整數。 舉例來說,如果您按月償還為期四年的汽車貸款,那麼貸款總付款期數會是 4 * 12 (或 48)。

pmt

必要。 指定每期付款的 Double。 付款通常會包含本金和利息,並且不會隨年金的期限變化。

光伏

選擇性。 指定一系列未來付款) 現值 (或一次性總和的 Variant。 例如,當您借錢買車時,貸款金額就是您每月汽車付款總額的現值。 如果沒有指定,會假設為 0。

type

可省略。 用來指定給付時點的 Variant。 如果給付時點為付款期限結束時,則使用 0;如果給付時點為期限開始時,則使用 1。 如果沒有指定,會假設為 0。


註解

年金是指一段時間內,一系列的固定現金付款活動。 年金可能是一筆貸款 (例如房屋貸款) 或投資 (例如每月存款計劃)。

必須使用相同單位表示的付款期間來計算 ratenper 引數。 例如,如果 rate 是使用月份計算,則 nper 也必須使用月份計算。

對於所有引數,付出的現金 (例如要儲蓄的存款金額) 是由負數表示;收入的現金 (例如股利支票) 是由正數表示。

查詢範例

Expression

結果​​

SELECT FinancialSample.*, FV ([AnnualRate]/12,[TermInYears]*12,-[MonthlyRePayment],[LoanAmount],0) AS FutureValue FROM FinancialSample;

傳回 「FinancialSample」 資料表中的所有欄位,並根據 「AnnualRate」、“MonthlyRePayment” 和 “TermInYears” 來計算 “LoanAmount” 的未來值,並在 “FutureValue” 欄中顯示結果。

VBA 範例

附註: 下列範例示範如何在 Visual Basic for Applications (VBA) 模組中使用此函數。 如需使用 VBA 的詳細資訊,請在 [搜尋] 旁的下拉式清單中選取 [開發人員參考],並在 [搜尋] 方塊中輸入一個或多個字詞。

此範例使用 FV 函數傳回投資的未來值,指定每期 (APR / 12) 應計率百分比、付款總額 (TotPmts) 、付款 (Payment) 、投資 (PVal) 的目前值,以及指出付款是在付款期 (PayType) 的開始或結束時間的數位。 請注意,因為 Payment 代表已支付的現金,因此它是負數。

Dim Fmt, Payment, APR, TotPmts, PayType, PVal, FVal
Const ENDPERIOD = 0, BEGINPERIOD = 1 ' When payments are made.
Fmt = "###,###,##0.00" ' Define money format.
Payment = InputBox("How much do you plan to save each month?")
APR = InputBox("Enter the expected interest annual percentage rate.")
If APR > 1 Then APR = APR / 100 ' Ensure proper form.
TotPmts = InputBox("For how many months do you expect to save?")
PayType = MsgBox("Do you make payments at the end of month?", vbYesNo)
If PayType = vbNo Then PayType = BEGINPERIOD Else PayType = ENDPERIOD
PVal = InputBox("How much is in this savings account now?")
FVal = FV(APR / 12, TotPmts, -Payment, -PVal, PayType)
MsgBox "Your savings will be worth " & Format(FVal, Fmt) & "."

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×