IRR formula help

TwoAce

Board Regular
Joined
Feb 20, 2008
Messages
152
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I need an IRR of 1% and use this formula in cell B1: =IF(A1<1%;"x";0)
Now I need to figure out what amount to add in cell B1 to get the IRR up to 1%.
Assume the IRR data is in cells C1 to C10 (dates) and D1 to D10 (amounts).
Does anyone know how to put this in the formula?

Thanks!
Rob
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I need an IRR of 1% and use this formula in cell B1: =IF(A1<1%;"x";0)
Now I need to figure out what amount to add in cell B1 to get the IRR up to 1%. Assume the IRR data is in cells C1 to C10 (dates) and D1 to D10 (amounts). Does anyone know how to put this in the formula?

The mathematical formula to use is provided in the XIRR help page. The IRR is the rate that causes the NPV to be zero.

I assume the value in B1 (that is, "x") is intended to be added to the last cash flow, D10 on date C10. So B1 should be:
Code:
=IF(A1<1%; -SUMPRODUCT(D1:D9/(1+1%)^((C1:C9-C1)/365))*(1+1%)^((C10-C1)/365) - D10; 0)

Caveat: If you add the non-zero result in B1 to D10, you might find that A1 is still not exactly 1%, assuming A1 is =XIRR(D1:D10; C1:C10). In my example, it is 0.999999940395356%. The difference is due to approximation errors inherent in the XIRR algorithm. For example, Excel XIRR stops iterating when the derived IRR is within 0.000001% of the IRR derived in the previous iteration, according to my interpretation of the XIRR help page. (Details in Microsoft help pages are notoriously unreliable.)
 
Upvote 0
PS....
Caveat: If you add the non-zero result in B1 to D10, you might find that A1 is still not exactly 1%, assuming A1 is =XIRR(D1:D10; C1:C10). In my example, it is 0.999999940395356%. The difference is due to approximation errors inherent in the XIRR algorithm. For example, Excel XIRR stops iterating when the derived IRR is within 0.000001% of the IRR derived in the previous iteration, according to my interpretation of the XIRR help page. (Details in Microsoft help pages are notoriously unreliable.)

I just had wanted to make the point that the condition A1<1% might still be true, even after adding the derived value in B1.

Of course, in the real world, we should never expect exactly 1% anyway, if only because monetary amounts must be rounded, for example to the cent.

So it would be better to change the conditional expression to something like:

=IF(ROUND(A1,2)<1%; ...)

I use 2 decimal places in order to round to the "whole" percentage; that is, to zero percentage decimal places. Remember that 1.23% is the decimal number 0.0123.
 
Upvote 0
Hats of to you sir, it worked like a charm! Thanks a lot. I did it by trial and error before, but with your help it is much better!
 
Upvote 0

Forum statistics

Threads
1,215,560
Messages
6,125,527
Members
449,236
Latest member
Afua

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top