Numbers Exercises

XNPV in Apple Numbers

Last updated:

Short answer: XNPV is NPV for cash flows on irregular dates. Syntax: XNPV(rate, values, dates)

Explanation

XNPV is NPV for cash flows on irregular dates. Each flow is discounted back to the first date.

Syntax

XNPV(rate, values, dates)

Example

Calculate the net present value at 5% of -1000 on 1 January 2026 and +1100 on 1 January 2027. Round to 2 decimals.

Formula: =ROUND(XNPV(0.05,VSTACK(-1000,1100),VSTACK(DATE(2026,1,1),DATE(2027,1,1))),2)
Result: 47.62

Frequently asked questions

What does XNPV do in Apple Numbers?

XNPV is NPV for cash flows on irregular dates. Each flow is discounted back to the first date.

What is the syntax of XNPV?

The syntax is XNPV(rate, values, dates).

More in this category

Practise it yourself

Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.

Start practising