The XNPV function is a finance function which can calculate the net present value (NPV) of a series of non-periodic cash flows, based on a specified discount rate. In this guide, we’re going to show you how to use the XNPV function and also go over ome tips and error handling methods.
- All Excel versions
Discount rate over one period.
A series of cash flows. If the first value is cost or payment, it must be a negative value.
Date series of cash flows. 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.
Note that we've used named ranges in this example to make the formulas easier to read. This is not required.
- The XNPV doesn’t discount the initial cash flow.
- Negative values represent cash paid out, positive values represent cash received.
- If you want to calculate net present value for a series of periodic cash flows, use the NPV function
- If an argument is nonnumeric you will get the #VALUE! error.
- An invalid date can give a #VALUE! error.
- Any date value entered that is before the starting date will give a #NUM! error.
- If references of values and date series have different sizes you will get a #NUM! error.