谁能告诉我这个 MS Excel 函数背后的数学原理。我正在用 php 编写代码,但我无法使用 Excel 来计算这些代码,但我仍然需要相同的结果。
CUMIPMT(rate,nper,pv,start_period,end_period,type) Returns the cumulative
interest paid on a loan between start_period and end_period.
Run Code Online (Sandbox Code Playgroud)
我的 Excel 函数 -
=IF($C$33<0,CUMIPMT($C$36/12,$C$35,-$C$33,$C$34,$C$34+11,0),-CUMIPMT($C$36/12,$C$35,$C$33,$C$34,$C$34+11,0))
Run Code Online (Sandbox Code Playgroud)
还有一个问题 - 我使用了(=E11-E12)但它不是减法,它增加了两个值,我不明白为什么?
先感谢您