# NPV Function

> Calculate the net present value of future cash flows with NPV in TX Sheet Control: discount rate, end-of-period cash flows and ignored text in ranges.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > NPV Function
- **232 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/npv/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/npv/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/npv/llms-full.txt

---

Return the net present value of an investment from a discount rate and a series of future cash flows. `rate` is the discount rate per period, and `value1`, `value2` and so on are the cash flows, which occur at the end of each period, in order; the first is discounted by one period. Text, logical values and empty cells in references are ignored. A `rate` of -1 returns `#DIV/0!`.

### Syntax

```text
NPV(rate, value1, value2)
```

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

Available for supported offline calculation.

### Examples

```text
=NPV(0.1,-100,110)
```

The formula returns 0, up to floating-point rounding: -100 after one period and 110 after two periods at 10% cancel each other out.

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

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [NPER Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/nper/llms-full.txt)
- **Next:** [NUMBERVALUE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/numbervalue/llms-full.txt)
