I want to use the IRR
function in Excel; however, my inputs exists in a non-contiguous range.
For example, I want to know the return of an asset over time (each row is a time period).
Column B is the price of the asset (cash inflow if liquidated).
A1
is cost of owning the asset at time 1, A2
is the cost of owning at time 2 etc. B1
is the liquidation price of the asset at time 1, B2 is the liquidation price of the asset at time 2 etc. So for example C6
is the return of the asset if I liquidate at period 6, C7
is the return of the asset if I liquidate at period 7 etc. So for C6
, the cash outflow would be A1:A5
, the cash inflow would be B6
.
How do I feed IRR these two inputs?
From a technique I saw lori_m use
=IRR(IF(1-FREQUENCY(9^9,A1:A5),A1:A5,B6))
As per the simple example below, the FREQUENCY
formula is used to mesh together A1:A5
with B6
. Returning an identical ÌRR
to the same cashflows in a continuous range