Skip to main content

金融函数

金融函数应用金融算法或数学计算。

FinanceCAGR

FinanceCAGR(BeginningValue, EndingValue, NumYears):计算复合年增长率:按年计算的几何平均增长率。

FinanceEffectiveRate

FinanceEffectiveRate(NominalRate, PaymentsPerYear):计算有效年利率:贷款或金融产品的利率,从名义利率重列为应偿还的年度复合利息的利率。

FinanceFV

FinanceFV(Rate, NumPayments, PaymentAmount, PresentValue, PayAtPeriodBegin):计算投资的未来价值:假设以特定的利率或收益率,资产在未来指定时间的价值。

FinanceFVSchedule

FinanceFVSchedule(Principle, Year1Rate, Year2Rate):计算未来价值计划:对投资应用一系列利率后初始本金的未来价值。

FinanceIRR

FinanceIRR(Value1, Value2):计算内部收益率:即通过投资成本产生投资收益时的利率。这意味着从投资中获得的所有收益本质上是货币时间价值,并且在该利率下投资的净现值为零。

FinanceMIRR

FinanceMIRR(FinanceRate, ReinvestRate, Value1, Value2):计算修正内部收益率:内部收益率的修正,旨在解决内部收益率(IRR)的一些问题。MIRR 是衡量投资吸引力的金融指标。

FinanceMXIRR

FinanceMXIRR(FinanceRate, ReinvestRate, Value1, Date1, Value2, Date2):计算投资指定日期内的修正内部收益率。

FinanceNominalRate

FinanceNominalRate(EffectiveRate, PaymentsPerYear):计算名义年利率:如果复合频率(如一个月)与基本时间单位(通常为一年)不相同,则将利率称为名义利率。

FinanceNPER

FinanceNPER(Rate, PaymentAmount, PresentValue, FutureValue, PayAtPeriodBegin):计算投资或贷款的期数。

FinanceNPV

FinanceNPV(Rate, Value1, Value2):计算投资的净现值:以现值计算满足融资费用时现金流量的超额或短缺额。

FinancePMT

FinancePMT(Rate, NumPayments, PresentValue, FutureValue, PayAtPeriodBegin):计算贷款的还款额。

Alteryx PMT Versus Excel PMT

Some important distinctions must be made when comparing the Alteryx FinancePMT function to Excel's PMT function.

Both the Alteryx and Excel PMT functions use the same PMT formula. However, there are differences to be aware of:

  • Excel treats positive values as inflows (money coming in) and negative values as outflows (money going out). So, to get a positive payment number, you must give PresentValue and FutureValue opposite signs (positive/negative). If PresentValue and FutureValue have the same sign, Excel returns a negative PMT to balance the cash flows (since a payment is considered money going out).

  • The Alteryx function assumes the same “positive deposit” framing and, by default, returns PMT as a negative number (the payment is money going out). As such, to make the returned PMT positive, it's common to enter FutureValue with the opposite sign to PresentValue (often negative). For example:

    FinancePMT(0.005, 360, -250000, 0, 0) returns ~1499 (note that PresentValue is a negative number). If PresentValue were a positive number, the return would be -1499 to signify money out.

FinancePV

FinancePV(Rate, NumPayments, PaymentAmount, FutureValue, PayAtPeriodBegin):计算投资的现值:为反映货币的时间价值和投资风险等其他因素而经过折现的一笔未来付款或一系列未来付款在给定日期的价值。

FinanceRate

FinanceRate(NumPayments, PaymentAmount, PresentValue, FutureValue, PayAtPeriodBegin):计算利率(每期)。

FinanceXIRR

FinanceXIRR(Value1, Date1, Value2, Date2)计算投资的指定日期修正内部收益率。

FinanceXNPV

FinanceXNPV(Rate, Value1, Date1, Value2, Date2):计算投资在指定日期的净现值。