Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下日期和数字:2015 年 1 月 1 日、2015 年 6 月 1 日、2015 年 12 月 1 日和 2016 年 3 月 1 日,数字分别为 - 100 万美元、10 万美元、10 万美元和 X。 m 使用 XIRR 函数。我如何求解 X 以便我可以得到任何目标利率的 XIRR(比如说 5.50%)?我使用了目标搜索功能,但我会得到一个 X 的数字,使我接近 5.50%,但总是略高于(如 5.521%)。
我有没有一种在 vba 中近似 X 的好方法?
With Application .MaxIterations = 10000 .MaxChange = 0.0000001 Sheet3.Range("IRR").GoalSeek Goal:= 5.5%, ChangingCell:= B1 End With
我能够通过使用目标搜索并更改迭代和精度级别来解决它。