xirr
Internal rate of return with irregular cash-flow dates.
Syntax
Section titled “Syntax”v = xirr(values, dates, guess)Description
Section titled “Description”Like irr but cash flows occur on arbitrary dates rather than fixed periods. Returns the annualized rate.
Example
Section titled “Example”xirr([-10000 2750 4250 3250 2750], [...])