1. Home
  2. Functions
  3. Financial
  4. XNPV

XNPV function

Returns the net present value of cash flows that happen on given dates.

Syntax

=XNPV(rate, values, dates)

Arguments

ArgumentRequiredDescription
rateRequiredThe annual discount rate
valuesRequiredThe cash flows
datesRequiredThe dates of the cash flows (the first is the start)

How to use XNPV

XNPV takes 3 required arguments. Type =XNPV( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=XNPV(0.09, A1:A5, B1:B5)Result 2086.647602
Data in the sheet
AB
1-1000039448
2275039508
3425039751
4325039859
5275039904

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.