excel cumipmt公式到coldfusion

时间:2011-08-19 19:20:51

标签: excel function coldfusion

我试图在coldfusion中复制excel的cumipmt公式(在开始期间和结束期间的贷款上支付的累计利息)。

Excel的版本需要费率,nper [付款期间总数],现值,开始,结束和类型[等于0]。

有人有等式吗?

1 个答案:

答案 0 :(得分:0)

我认为这不仅仅是一个方程或公式,您可以在其中找到两个时期之间累积的利息。这就是你必须要做的事情

a) Find the monthly payment keeping in view whether the payment is made at the end or at the beginning of period [PMT]
b) Find the total interest paid by the end period
1. Find the outstanding principal by the end period [OP_E]
2. Find the total principal paid by the end period [TP_E] = PV - [OP_E]
3. Find the total amount paid by the end period [TA_E] = PMT x end
4. Find the total interest paid by the end period [TI_E] = [TA_E] - [TP_E]
c) Find the total interest paid by the start period minus 1
1. Find the outstanding principal by the start period [OP_S-1]
2. Find the total principal paid by the start period [TP_S-1] = PV - [OP_S-1]
3. Find the total amount paid by the start period [TA_S-1] = PMT x start - 1
4. Find the total interest paid by the start period [TI_S-1] = [TA_S-1] - [TP_S-1]
d) Now find the CUMIPMT = [TI_E] - [TI_S-1]

CUMIPMT Calculator使用上述或类似算法计算贷款支付的cumulative interest