Financial

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 reference

Search ExcelTutor