| Financial Toolbox | ![]() |
Syntax
Return = xirr(CashFlow, CashFlowDates, Guess, MaxIterations)
Description
Return = xirr(CashFlow,
returns the internal rate of return for a schedule of nonperiodic cash flows.CashFlowDates, Guess, MaxIterations)
Examples
An investment of $10,000 returns this nonperiodic cash flow. The original investment and its date are included.
| Cash flow |
Dates |
| ($10000) |
January 12, 2000 |
| $2500 |
February 14, 2001 |
| $2000 |
March 3, 2001 |
| $3000 |
June 14, 2001 |
| $4000 |
December 1, 2001 |
CashFlow = [-10000, 2500, 2000, 3000, 4000];returnsCashFlowDates= ['01/12/2000' '02/14/2001' '03/03/2001' '06/14/2001' '12/01/2001']; Return = xirr(CashFlow,CashFlowDates)
Return =
0.1009 (or 10.09%)
See Also
fvvar, irr, mirr, pvvar
References
Sharpe and Alexander, Investments, 4th edition, page 463.
| x2mdate | year | ![]() |