==XNPV(rate,values,dates)
=XNPV(F6,B5:B10,C5:C10)
The XNPV function calculates the net present value of a series of cash flows, given a discount rate. This example provides a demonstration of the XNPV function. To calculate the net present value of a series of cash flows with a discount rate of 6%, the preceding formula is used. This example returns a net present value of 177.6532.
The XNPV function can be used to calculate the present value of a series of cash flows with a different discount rate. For example, if the discount rate is changed to 8%, the same series of cash flows can be evaluated with the preceding formula. This example returns a net present value of 123.3485.
=XNPV(F6,B15:B20,C15:C20)
The XNPV function can also be used to compare the present value of two different series of cash flows. For example, if a different set of cash flows are entered into the formula, a different net present value can be calculated. To compare two sets of cash flows using the XNPV function, the formula above is used. This example returns a net present value of 148.7654.
=XNPV(-F6,B5:B10,C5:C10)
The XNPV function can also be used to calculate the present value of cash flows with a negative discount rate. To do this, the formula is changed to the preceding. This example returns a net present value of -177.6532.
The XNPV function is used to calculate the present value of a series of cash flows that occur at different times. It is an alternative to the NPV function, which calculates the net present value for cash flows that occur periodically.