Summary: | IRR NaN When it should give back a value | ||
---|---|---|---|
Product: | POI | Reporter: | Fawaz Alhenaki <fawaz.alhenaki> |
Component: | SS Common | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Reproduction file |
Description
Fawaz Alhenaki
2020-02-11 21:30:15 UTC
I had to increase the iteration count and then POI calculates -0.009463562705856032 for the attached test case r1894110 - it seems like the way that Excel calculates its iteration count is very different from how the POI code does because the attached use case requires a much higher iteration count than 20 (POI iteration count) https://bz.apache.org/bugzilla/show_bug.cgi?id=64085 is also open and has a discussion about how Excel's IRR has some unusual implementation |