p: number of periods
pv: present value
fv: future value
RRI determines an equivalent interest rate for an investment that increases in value. The interest is compounded after each complete period.
If type is 0, the default, payment is at the end of each period. If type is 1, payment is at the beginning of each period. Note that p need not be an integer but for fractional value the calculated rate is only approximate.
This function is OpenFormula compatible.