RangeIRR() returns the internal rate of return for a series of cash flows represented by the input values.
The internal rate of return is the interest rate received for an investment consisting of payments (negative values) and income (positive values) that occur at regular periods.
RangeIRR(value[, value][, Expression])
Return data type: numeric
||A single value or a range of values as returned by an inter record function with a third optional parameter. The function needs at least one positive and one negative value to be calculated.|
||Optional expressions or fields containing the range of data to be measured.|
Add the example script to your document and run it. Then add, at least, the fields listed in the results column to a sheet in your document to see the result.
recno() as RangeID,
RangeIRR(Field1,Field2,Field3) as RangeIRR;
LOAD * INLINE [
] (delimiter is '|');