TX Sheet Control

XNPV Function

Function

Return the net present value of cash flows that occur on irregular dates. rate_or_values is the discount rate a year, values_or_dates the cash flows and dates_or_guess their dates; the first date is the start, and each cash flow is discounted by its days since then on a 365-day year. A date before the first date returns #NUM!.

Syntax

XNPV(rate_or_values, values_or_dates, dates_or_guess)

Category: Financial. Minimum arguments: 2. Maximum arguments: 3.

Available for supported offline calculation.

Examples

=XNPV(0.1,{-100,110},{1,366})

The formula returns 0 (-1.4E-14 before rounding): 110 received 365 days after paying 100 is worth exactly 100 at a rate of 10%.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also