Excel IRR and XIRR: Bug analyser

Excel’s IRR and XIRR and simple but excellent tools to estimate the returns from a periodic investment in a volatile instruments (eg. Mutual fund SIP).

Unfortunately, two issues affect its usage:

  •  Bug(s) of unknown origin that make it give the wrong result sometimes.

Read more about this here: XIRR: A Bug? (Thanks to financial planner Hari, for sending me this link)

  • When the cash flow (receipts – payments) becomes small or negative, there are two possibilities
    1. XIRR or IRR gives only one of the many possible solutions

Read more about this here: IRR/XIRR – Excel – Limitations of Calculating Complex Cash Flow Returns

    1. XIRR or IRR simply gives an error
  • A Youtube video sent by Hari, discusses these issues well: A look at Excel’s XIRR function You can read my discussion with the author of the video, if interested.
  • For a slightly more technical account: Sins of IRR

 Q: Can we check the results of IRR and XIRR, spot bug, understand errors and obtain all possible solutions (if they exist) for a given cash flow?

A: Yes you can! With this tool

The Excel IRR and XIRR cash flow returns analyzer

You should use this tool to validate your results if 

  • XIRR gives you an abnormally small or large value, if IRR gives you an abnormally large value
  • The net cash flow (receipts – payments) is less than 1000

How it works

  • Using the mathematical expressions behind Excel functions NPV and XNPV, the analyzer gives you a range between which a possible solution to IRR or XIRR exists. For example if the answer is 10%, the limits of the range will be say, 5% to 15%.
  • This way all possible solutions ranges are determined.
  • Then for a given range, the solution is calculated using Excel’s GoalSeek
  • Using the GoalSeek result as a guess, the XIRR and IRR are calculated.

The analyzer allows you to check if results given by XIRR and IRR are unique and gives you the range between which all return solutions for a given cash flow exist.

Download the Excel IRR and XIRR Solution Analyzer

Install Financial Freedom App! (Google Play Store)

Install Freefincal Retirement Planner App! (Google Play Store)

book-footer

Buy our New Book!

You Can Be Rich With Goal-based Investing A book by  P V Subramanyam (subramoney.com) & M Pattabiraman. Hard bound. Price: Rs. 399/- and Kindle Rs. 349/-. Read more about the book and pre-order now!
Practical advice + calculators for you to develop personalised investment solutions

Thank you for reading. You may also like

About Freefincal

Freefincal has open-source, comprehensive Excel spreadsheets, tools, analysis and unbiased, conflict of interest-free commentary on different aspects of personal finance and investing. If you find the content useful, please consider supporting us by (1) sharing our articles and (2) disabling ad-blockers for our site if you are using one. We do not accept sponsored posts, links or guest posts request from content writers and agencies.

Blog Comment Policy

Your thoughts are vital to the health of this blog and are the driving force behind the analysis and calculators that you see here. We welcome criticism and differing opinions. I will do my very best to respond to all comments asap. Please do not include hyperlinks or email ids in the comment body. Such comments will be moderated and I reserve the right to delete  the entire comment or remove the links before approving them.

4 thoughts on “Excel IRR and XIRR: Bug analyser

  1. bharat shah

    really i do not understand the subject matter due to my limitation , but for my work, i put the last entry as the a/m balance as received or paid as on date in your earlier version of such calculator , and i got the correct figure, i i think. for all practical purpose , i think, that would be enough. i am afraid i may have commented irrelevant without understanding. apologized..

    Reply
  2. bharat shah

    really i do not understand the subject matter due to my limitation , but for my work, i put the last entry as the a/m balance as received or paid as on date in your earlier version of such calculator , and i got the correct figure, i i think. for all practical purpose , i think, that would be enough. i am afraid i may have commented irrelevant without understanding. apologized..

    Reply

Do let us know what you think about the article