Cellgrids Cellgrids
Home › Excel formulas › Financial › XNPV

XNPV Function in Excel: Syntax, Examples and Free Practice

By Rinkesh Shah, founder of Cellgrids.

XNPV is an Excel Financial function. Returns net present value for cash flows on irregular dates.

XNPV syntax

=XNPV(rate, values, dates)

Arguments

When to use XNPV

XNPV is used in loan, investment, or valuation models where precise financial math is required.

Practice XNPV online, free

Open the live Excel-style spreadsheet and try XNPV yourself. No Excel install or sign-up needed to start.

Practice XNPV now →

More Financial functions

Frequently asked questions

What does the XNPV function do in Excel?

Returns net present value for cash flows on irregular dates.

What is the syntax of XNPV in Excel?

The syntax is =XNPV(rate, values, dates). rate: The interest rate per period; values: The series of cash flow values; dates: The series of dates matching each cash flow.

Where can I practice XNPV online for free?

Open the free live spreadsheet on Cellgrids and try XNPV yourself. No Excel install is needed and you can start without signing up.

All Excel formulas · Cheat sheet · Excel exercises · Financial functions · Excel case studies · Excel tutorials · Excel shortcuts