Financial Toolbox
  Go to function:
    Search    Help Desk 
xirr    Examples   See Also

Internal rate of return for nonperiodic cash flow.

Syntax

Arguments

cf
A vector of nonperiodic cash flows. Include the initial investment as the initial cash flow value (a negative number).
df
A vector of dates on which the cash flows occur. Enter dates as serial date numbers or date strings.
guess
Initial estimate of the expected return. Default = 0.1 (10%).
maxiter
Number of iterations used by Newton's method to solve for yld. Default = 50.

Description

yld = xirr(cf, df, guess, maxiter) returns the internal rate of return for a schedule of nonperiodic cash flows.

Example

An investment of $10,000 returns this nonperiodic cash flow. The original investment and its date are included.

Cash flow
Dates
($10000)
January 12, 1987
$2500
February 14, 1988
$2000
March 3, 1988
$3000
June 14, 1988
$4000
December 1, 1988

To calculate the internal rate of return for this nonperiodic cash flow

returns

See Also

fvvar, irr, mirr, pvvar

Reference

Sharpe and Alexander, Investments, 4th edition, page 463.



[ Previous | Help Desk | Next ]