MINVERSE Function

Excel Functions › Math & Trig

All versions Math & Trig

The Excel MINVERSE function returns the inverse of a square matrix as a spilled array — the matrix that, multiplied by the original, gives the identity matrix. It is the backbone of solving systems of linear equations.


Quick answer:
=MINVERSE({4,7;2,6}) 2×2 inverse spills as {0.6,-0.7;-0.2,0.4}

Syntax

=MINVERSE(array)
ArgumentDescription
arrayRequiredA square numeric range or array constant with a non-zero determinant. Commas separate columns and semicolons separate rows in an array constant.

How to use it

MINVERSE returns an array the same size as the input, so in Excel 365 it spills across cells; in older Excel you select the output range and confirm with Ctrl+Shift+Enter.

=MINVERSE({4,7;2,6}) // det 10 → {0.6,-0.7;-0.2,0.4}

For the matrix {4,7;2,6} the determinant is 4×6 − 7×2 = 10, so the inverse is 1/10 of {6,-7;-2,4}, giving {0.6,-0.7;-0.2,0.4}. Multiplying the matrix by its inverse with MMULT returns the identity matrix.

To solve A·x = b for x, compute =MMULT(MINVERSE(A), b).

Determinant must be non-zero. A singular matrix (determinant = 0) has no inverse, so MINVERSE returns #NUM!. Check first with MDETERM.

Try it: interactive demo

Live demo

Pick a MINVERSE example to see the formula and its result.

Result:

Practice workbook

📊
Download the free MINVERSE practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

How do I enter MINVERSE in older Excel?
Select an output range the same size as the matrix, type the formula, then press Ctrl+Shift+Enter to enter it as an array. In Excel 365 it spills automatically — just press Enter.
Why does MINVERSE return #NUM!?
The matrix is singular — its determinant is 0, so no inverse exists. Verify with =MDETERM(array); a non-zero result means the inverse can be computed.
What is the inverse of a matrix used for?
It solves systems of linear equations: for A·x = b, the solution is x = A⁻¹·b, computed as =MMULT(MINVERSE(A), b).
How can I confirm the inverse is correct?
Multiply the original matrix by its inverse with MMULT; the result should be the identity matrix (1s on the diagonal, 0s elsewhere), allowing for tiny floating-point dust.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: MDETERM · MMULT · MUNIT · TRANSPOSE · SUMPRODUCT