MINVERSE Function – Find Matrix Inverse in Excel & Google Sheets

Written by

Editorial Team

Reviewed by

Steve Rynearson

Last updated on November 6, 2023

This tutorial demonstrates how to use the MINVERSE Function in Excel to return the inverse matrix of a given array. 

MINVERSE Main Function

MINVERSE Function

The MINVERSE Function returns the inverse of any array such that it has an equal number of rows and columns. 

=MINVERSE(A2:B3)

MINVERSE 01

Excel 2019 and Earlier: After entering the formula, instead of pressing ENTER, you must press CTRL + SHIFT + ENTER. This turns the formula into an array. You can identify arrays by the curly brackets surrounding the formula:

{=MINVERSE(A2:B3)}

Important: You can not manually type in the curly brackets, this will not work. You must use CTRL + SHIFT + ENTER

Excel 365: In newer versions, you no longer need to use CTRL + SHIFT + ENTER. You can simply press ENTER. 

MINVERSE Function – Non-Square Matrix

The MINVERSE Function will return an error if the array is not a square matrix.

= MINVERSE(A2:B4)

MINVERSE 02

MINVERSE Function – Text or Empty Cell

The MINVERSE Function will also return an error if any member of the array is either empty or contains some text.

=MINVERSE(A2:B3)

MINVERSE in Google Sheets

The MINVERSE Function works exactly the same in Google Sheets as in Excel:

MINVERSE Google Function

AI Formula Generator

Try for Free

Excel Practice Worksheet

practice excel worksheet

Practice Excel functions and formulas with our 100% free practice worksheets!

  • Automatically Graded Exercises
  • Learn Excel, Inside Excel!

Free Download

Return to List of Excel Functions