# MINVERSE Function

> Calculate the inverse of a square matrix with MINVERSE in TX Sheet Control: a spilled result range, singular matrices with #NUM! and non-square #VALUE!.

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

---

Return the inverse matrix of a square matrix. `array_or_dimension` is a square numeric array or range, and the inverse spills into a range of the same size. A matrix without an inverse, whose determinant is 0, returns `#NUM!`, and a non-square array returns `#VALUE!`.

### Syntax

```text
MINVERSE(array_or_dimension, array2)
```

Category: Math. Minimum arguments: 1. Maximum arguments: 2.

Available for supported offline calculation.

### Examples

```text
=MINVERSE({1,2;3,4})
```

The formula spills the 2 × 2 matrix {-2, 1; 1.5, -0.5}, up to floating-point rounding.

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:** [MINUTE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/minute/llms-full.txt)
- **Next:** [MIRR Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/mirr/llms-full.txt)
