Show AllShow All

XNPV

See Also

Returns the net present value for a schedule of cash flows that is not necessarily periodic. To calculate the net present value for a series of cash flows that is periodic, use the NPV function.

If this function is not available, and returns the #NAME? error, install and load the Analysis ToolPak add-in.

ShowHow?

Syntax

XNPV(rate,values,dates)

Rate    is the discount rate to apply to the cash flows.

Values    is a series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive value and one negative value.

Dates    is a schedule of payment dates that corresponds to the cash flow payments. The first payment date indicates the beginning of the schedule of payments. All other dates must be later than this date, but they may occur in any order.

Remarks

Example

The example may be easier to understand if you copy it to a blank worksheet.

Show How?

 
1
2
3
4
5
6
A B
Values Dates
-10,000 January 1, 2008
2,750 March 1, 2008
4,250 October 30, 2008
3,250 February 15, 2009
2,750 April 1, 2009
Formula Description (Result)
=XNPV(.09,A2:A6,B2:B6) The net present value for an investment with the above cost and returns. The cash flows are discounted at 9 percent. (2086.6476 or 2086.65)