XNPV Function - Microsoft Support
This article describes the formula syntax and usage of the XNPV function in Microsoft Excel.
Description
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.
Syntax
XNPV(rate, values, dates)
The XNPV function syntax has the following arguments:
-
Rate Required. The discount rate to apply to the cash flows.
-
Values Required. 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 Required. 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
-
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.
-
If any argument is nonnumeric, XNPV returns the #VALUE! error value.
-
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.
-
XNPV is calculated as follows:
where:
-
di = the ith, or last, payment date.
-
d1 = the 0th payment date.
-
Pi = the ith, or last, payment.
-
Example
Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.
| Values | Dates | |
| -$10,000 | 1/1/2008 | |
| $2,750 | 3/1/2008 | |
| $4,250 | 10/30/2008 | |
| $3,250 | 2/15/2009 | |
| $2,750 | 4/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. | $2,086.65 |
Need more help?
Want more options?
DiscoverCommunityExplore subscription benefits, browse training courses, learn how to secure your device, and more.
Microsoft 365 subscription benefits
Microsoft 365 training
Microsoft security
Accessibility center
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.
Ask the Microsoft Community
Microsoft Tech Community
Windows Insiders
Microsoft 365 Insiders
Was this information helpful?
Yes No (Send feedback to Microsoft so we can help.) What affected your experience? Resolved my issue Clear instructions Easy to follow No jargon Pictures helped Other Didn't match my screen Incorrect instructions Too technical Not enough information Not enough pictures Other Any additional feedback? (Optional) Submit feedback By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.Thank you for your feedback!
×Từ khóa » X Npv
-
XNPV Function In Excel - Complete Guide With Examples How To Use
-
NPV Vs XNPV | Top Differences With Excel Examples - WallStreetMojo
-
How To Use The Excel XNPV Function - Exceljet
-
Difference Between NPV And XNPV
-
How To Calculate NPV Using XNPV Function In Excel - Investopedia
-
What Is The Formula For Calculating Net Present Value (NPV)
-
XNPV (Net Present Value Of An Investment For Payments Or Incomes ...
-
Difference Between NPV And XNPV - Ask Any Difference
-
What Is The XNPV Excel Function? (With Benefits And Examples)
-
XNPV
-
Excel XNPV Function: Discounting Non-Periodic Cash ... - YouTube
-
Why Excel NPV And XNPV Function Give Different Answers For Cash ...
-
XNPV Function Examples - Excel, VBA, & Google Sheets