https://bugs.documentfoundation.org/show_bug.cgi?id=100767
Bug ID: 100767
Summary: MIRR function constraint - Values shall contain at
least one positive value and at least one negative
value.
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Created attachment 126068
--> https://bugs.documentfoundation.org/attachment.cgi?id=126068&action=edit
test case
=MIRR(G1:G4;51;0,1) returns error- correct, G1:G4 are only positive values
=MIRR(F1:F4;51;0,1) returns -1 - incorrect (excel2010 return -1 too), F1:F4
are only negative values
Info from Eike: Looks like a bug, but it may just be due to the algorithm used.
Actually for only negative values there's no reason for #DIV/0 error, but maybe
another error should be generated.
ODF definition: 6.12.27 MIRR
Summary: Returns the modified internal rate of return (IRR) of a series of
periodic investments
Syntax: MIRR( Array Values ; Number Investment ; Number ReinvestRate )
Returns: Percentage
Constraints: Values shall contain at least one positive value and at least one
negative value.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs