Excel Functions

Excel XNPV Function

Pinterest LinkedIn Tumblr

The Excel XNPV Function stands for Net Present Value. It is categorized under financial functions. XNPV Function calculates the net present value of planned cash flow occurs at irregular cash flows.

Purpose of Excel XNPV Function

To calculate net present value for irregular cash flows.

Return value

XNPV function returns net present value.


= XNPV (rate, values, dates)


rateThe discount rate to apply to the cash flows. Mandatory
values 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. Mandatory
datesA 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. Mandatory

Usage note

  • If any argument is non numeric, XNPV returns the #VALUE! error value.
  • Numbers in dates are truncated to integers.
  • If any number in dates is not a valid date, XNPV returns the #VALUE! error value.
  • If any number in dates precedes the starting date, XNPV returns the #NUM! error value.
  • If values and dates contain a different number of values, XNPV returns the #NUM! error value.


Since 2007 for Windows.
Since 2011 for Mac.

Related Posts

Write A Comment