Forum Discussion
Hogstad_Raadgivning
Nov 28, 2024Steel Contributor
Num error using XIR
Hello, Attached is a workbok with 2 examples using XIR function. To calculate internal rate of return. One returns #NUM error. What is the reason for that? Best regards Geir
Hogstad_Raadgivning
Nov 28, 2024Steel Contributor
Thank you, I read that article. And I can not see that is one of those, it might be my "Inncorecct guess". I also got #NUM error if the number of columns for dates and values wa different.
SergeiBaklan
Nov 28, 2024MVP
I guess first value shall be negative (or missed)
- Hogstad_RaadgivningNov 28, 2024Steel Contributor
That might be a solution. It worked if I changed my first value to a negative number. It also worked if I expanded my data area with more negative columns. I made a random calculator, to check the pattern. But still confused.