XNPV
Discount cash flows on their actual dates using an annual discount rate.
Syntax
=XNPV(rate, values, dates)Worked example
Enter 1 Jan 2025 and 1 Jan 2026 as dates in A2:A3, with −100 and 110 in B2:B3. Discount the final receipt one year.
=XNPV(0.1,B2:B3,A2:A3)Result Approximately 0
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceXNPV Function In Excel | Excel Formula | XNPV Function | Excel World
Practice XNPV
Discount the dated cash flows at an annual rate of 10%.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Show example formula
=XNPV(0.1,B2:B3,A2:A3) Lesson quiz
Answer three questions to see your level in this lesson.
