# MIRR Function

> Calculate the modified internal rate of return of cash flows with MIRR in TX Sheet Control: values, finance rate, reinvestment rate and the #DIV/0! error.

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

---

Return the modified internal rate of return of a series of periodic cash flows. `values` holds the cash flows, with at least one negative payment and one positive income, `finance_rate` is the interest rate paid on the money invested and `reinvest_rate` the rate earned on the reinvested income. Cash flows that are all positive or all negative return `#DIV/0!`.

### Syntax

```text
MIRR(values, finance_rate, reinvest_rate)
```

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

Available for supported offline calculation.

### Examples

```text
=MIRR({-100,50,60},0.1,0.1)
```

The formula returns 0.0724, a modified internal rate of return of 7.24% for an investment of 100 that returns 50 and 60, with a finance and reinvestment 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

- [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:** [MINVERSE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/minverse/llms-full.txt)
- **Next:** [MMULT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/mmult/llms-full.txt)
