Advanced Excel Financial - XNPV Function

The XNPV function 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.
XNPV (rate, values, dates)

A series of cash flows that corresponds to a schedule of payments in dates.
See Notes below.
A schedule of payment dates that corresponds to the cash flow payments.
See Notes below.
The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment.
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.
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.
All succeeding payments are discounted based on a 365-day year.
The first payment date indicates the beginning of the schedule of 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.
All other dates must be later than this date, but they may occur in any order.
The series of values must contain at least one positive value and one negative value.
The series of values must contain at least one positive value and one negative value.
Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900.
Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900.
Numbers in dates are truncated to integers.
Numbers in dates are truncated to integers.
If any number in dates is not a valid Excel date, XNPV returns the #VALUE! error value.
If any number in dates is not a valid Excel date, XNPV returns the #VALUE! error value.
If any number in dates precedes the starting date, XNPV returns the #NUM! 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.
If values and dates contain a different number of values, XNPV returns the #NUM! error value.
XNPV is calculated as follows −
$$XNPV = \sum_{i=1}^{N} \frac{P_i}{\left ( 1
+ rate \right )^{\frac{\left ( d_i - d_1 \right )}{365}}}$$
Where,
di = the ith, or last, payment date.
d1 = the 0th payment date.
Pi = the ith, or last, payment.

XNPV is calculated as follows −
$$XNPV = \sum_{i=1}^{N} \frac{P_i}{\left ( 1
+ rate \right )^{\frac{\left ( d_i - d_1 \right )}{365}}}$$
Where,
di = the ith, or last, payment date.
d1 = the 0th payment date.
Pi = the ith, or last, payment.
Excel 2007, Excel 2010, Excel 2013, Excel 2016

    296 Lectures 
     146 hours 

 Arun Motoori

    56 Lectures 
     5.5 hours 

 Pavan Lalwani

    120 Lectures 
     6.5 hours 

 Inf Sid

    134 Lectures 
     8.5 hours 

 Yoda Learning

    46 Lectures 
     7.5 hours 

 William Fiset

    25 Lectures 
     1.5 hours 

 Sasha Miller
 Print
 Add Notes
 Bookmark this page