Contact

NPV Function in Google Sheets: Formula, Examples & Troubleshooting

Financial Intermediate Google Sheets

Calculate periodic NPV in Google Sheets with correctly timed cash flows. Keep an initial outlay separate, preserve zero-flow periods, and compare rates.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: NPV discounts an ordered series of future, equally spaced cash flows using a rate per period. For an amount paid today, add that signed time-zero amount separately from the future-flow NPV.

Verification: NOT_TESTED_IN_GOOGLE_SHEETS. Google’s documentation was reviewed October 17, 2026. The synthetic financial examples were independently calculated from the periodic discounting model. They are arithmetic illustrations, not investment advice or native execution evidence.

Syntax and cash-flow contract

=NPV(discount, cashflow1, [cashflow2, ...])

discount is the rate for one period. cashflow1 is the first future flow; further flows are optional. Google permits values, cell references, or ranges, and considers them in their supplied order. Income is positive and payments are negative from the investment owner’s perspective. For irregularly spaced dates, Google’s reference directs readers to XNPV. Google NPV documentation.

For a period-end cash-flow model, the independent mathematical check is CF1/(1+r) + CF2/(1+r)^2 + …. A time-zero amount has exponent zero and is therefore added without discounting. Keep that timing assumption explicit rather than placing today’s payment among future-period inputs.

Example: three years of synthetic project receipts

Create this input area:

Cell Content
A1 Period
B1 Cash flow
A2 0: today
B2 -1000
A3 1: end of year 1
B3 400
A4 2: end of year 2
B4 450
A5 3: end of year 3
B5 500
D1 Annual discount rate
D2 10%
  1. Put =NPV(D2,B3:B5) in D4.
  2. Put =B2+D4 in D5 to include the initial outlay.
  3. Display both results to two decimal places, while retaining full precision in intermediate calculations.
  4. Compare with the independently calculated expectations: 1,111.19 for future receipts and 111.19 after the time-zero outlay.

The detailed check is:

Period Calculation Present value, rounded
1 400 / 1.1 363.64
2 450 / 1.1² 371.90
3 500 / 1.1³ 375.66

Using the unrounded values gives 1,111.1945905334. Subtracting the 1,000 paid today gives 111.1945905334. Minor differences from adding the displayed rounded rows are a presentation issue, not a reason to round every intermediate value.

The equivalent one-cell model is =B2+NPV(D2,B3:B5).

A timing mistake that changes the answer

=NPV(D2,B2:B5) puts the initial outlay in the first future period and shifts all later flows by one period. The independently calculated result for that different timeline is about 101.0859913940, not 111.1945905334.

The discrepancy is not solved by changing the sign of the outlay. The problem is timing. Label a timeline before writing the formula, and identify whether the valuation date is before or at the first cash flow.

Advanced use: preserve a period with no cash flow

Suppose year 2 has no cash flow, while year 1 remains 400 and year 3 remains 500. Keep an explicit numeric zero in the second position:

=NPV(10%,400,0,500)

The expected result is approximately 739.2937640872. Omitting that period and writing =NPV(10%,400,500) instead treats 500 as the second future flow and gives approximately 776.8595041322.

Those formulas model different dates. Use numeric zero deliberately for a real zero-flow period. The reviewed reference does not specify every blank/text coercion rule, so do not rely on an empty or text-filled cell to preserve an intended timeline.

Sensitivity to the chosen rate

For the original -1,000 / 400 / 450 / 500 timeline, the independently calculated net values are:

Rate per year Net value including time zero
5% 221.0344455242
10% 111.1945905334
15% 16.8488534561

These are alternative assumptions, not forecasts or recommended rates. A positive model result does not settle project risk, financing constraints, taxes, uncertain cash flows, or the correct discount rate.

Rate units must match the interval between flows. An annual rate belongs with annual periods; a monthly model needs a consistently defined monthly rate. Do not divide every quoted annual rate by 12 without first knowing whether it is a nominal or effective annual rate and what compounding convention it uses.

Troubleshooting and availability

  • The rate was entered as 10 instead of 10%: Check percentage inputs before interpreting the amount.
  • Today’s outlay was discounted: Keep it separate from the first future-flow argument.
  • An absent receipt changed later timing: Retain explicit zero-flow periods.
  • Amounts occur on irregular dates: NPV’s periodic positions are not a calendar-date schedule; investigate XNPV’s separate contract.
  • A result is replaced with zero after an error: Diagnose inputs first. A true zero net value is different from an invalid calculation.

Google currently documents NPV. Its first introduction, retirement, last-working version, exact invalid-input error tokens, and other-product coercion parity were not established.

See POWER for discount factors, SUM for independent row checks, and ROUND for deliberate final rounding.

First-party reference reviewed October 17, 2026: NPV. All displayed amounts were independently calculated using the stated periodic timeline.