Skip to content

xnpv

Net present value with irregular cash-flow dates.

v = xnpv(rate, values, dates)

Like npv but cash flows can occur at arbitrary dates. dates is a date vector matching values; the first date is the reference (period zero).

xnpv(0.09, [-10000 2750 4250 3250 2750], [...])
  • npv — Net present value of a stream of cash flows.
  • xirr — Internal rate of return with irregular cash-flow dates.