Excel: IRR() Function Returns Unexpected Result with Blanks

Last reviewed: November 2, 1994
Article ID: Q24284

SUMMARY

The Microsoft Excel IRR() function ignores blank cells. This will cause incorrect results if those blank cells represent zero amounts in the range that is specified.

Example

Suppose you have the following data on a worksheet:

   +--+---------+
   |  |    A    |
   +--+---------+
   |1 |  -$5000 |
   +--+---------+
   |2 |         |
   +--+---------+
   |3 |   $1000 |
   +--+---------+
   |4 |   $2500 |
   +--+---------+
   |5 |   $6000 |
   +--+---------+

You must enter a zero in cell A2 in order to obtain the correct result from the IRR() function.

Also note that Excel uses an iterative technique to compute IRR(), and if the successive results of IRR() do not converge to within 0.0000001 after 20 iterations, the #NUM! error is returned.


KBCategory: kbother
KBSubcategory:

Additional reference words: 1.00 1.03 1.04 1.06 1.50 2.20 3.00


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.