=AMORDEGRC(10000;DATE(2012;3;1);DATE(2012;12;31);1500;-1;0,3;4) -> result 0 =AMORDEGRC(10000;DATE(2012;3;1);DATE(2012;12;31);-1500;1;0,3;4) -> result 2818 Both results should be #error. Tested with excel and excel throws error.
The results from Calc differ from those from Excel; I will investigate and see if a fix is possible. Note: this function is an 'Excel Analysis package Add-On function'.
Winfried Donkers committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e227b6516295c6954d24a8eb67d2f0c0475c32e9 tdf#100523 Add constraints for AMORDEGRC function. It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.