The Excel NPV function is a finance function that calculates the net present value (NPV) of a series of cash flows based on a specified discount rate. In this guide, we’re going to show you how to use the Excel NPV function and also go over some tips and error handling methods.
- All Excel versions
Excel NPV Function Syntax
|rate||Discount rate over one period.|
|value1||The first value of cash flows. A range can be used to refer 1 to 254 arguments representing the payments and income.|
|[value2],…||Optional. The second value of cash flows. This can be omitted by using a range for value1.|
We are going to be using named ranges in our examples to make the formulas easier to read, but this is not required.
- The Excel NPV function uses the order of value1, value2, ... when calculating the outcome. Therefore, you must pay attention to the order that you enter the payment and income values.
- Arguments that are empty cells, logical values, text representations of numbers, error values, or a text string that cannot be translated into numbers will be ignored.
- If an argument is an array or reference, only numbers in that array or reference will be counted. Empty cells, logical values, text, or error values in the array or reference are omitted.
- If you have the exact dates of cash flows, and need to be very precise with your calculations, use XNPV instead of the NPV function.