简体   繁体   English

LibreOffice 中的 XIRR function 给出了奇怪的结果

[英]XIRR function in LibreOffice giving strange results

Version: 7.2.3.2 / LibreOffice Community版本:7.2.3.2 / LibreOffice 社区
Build ID: 20(Build:2)构建 ID:20(构建:2)
CPU threads: 8; CPU线程:8; OS: Linux 5.3;操作系统:Linux 5.3;
UI render: default; UI渲染:默认; VCL: kf5 (cairo+xcb) VCL:kf5(开罗+xcb)
Locale: en-GB (en_GB.UTF-8);语言环境:en-GB (en_GB.UTF-8); UI: en-GB用户界面:en-GB
Calc: threaded计算:螺纹

http://www.zen224037.zen.co.uk/LibreOfficeBug.ods http://www.zen224037.zen.co.uk/LibreOfficeBug.ods

The two calculations are exactly the same apart from the one day difference between the dates in C1 and C3, which shouldn't affect the result anyway because the cash flows for that date are zero.除了 C1 和 C3 中的日期之间存在一天差异之外,这两个计算完全相同,这无论如何都不应该影响结果,因为该日期的现金流量为零。

Can anyone explain this?谁能解释一下?

Explain?解释? No. But the wiki.documentfoundation.org article on XIRR (quoting the ODF standard) says,不,但是wiki.documentfoundation.org关于XIRR文章(引用 ODF 标准)说,

The first cash-flow amount is a negative number that represents the investment. 第一个现金流量是代表投资的负数。

If you change the amount in cell C4 from 0 to -0.01 both XIRR functions return -12.14% .如果将单元格C4中的金额从0更改为-0.01 ,则两个XIRR函数都会返回-12.14% I'd make C2 non-zero as well.我也会使C2非零。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM