**Excel MINVERSE (Table of Contents)**

## Definition of Inverse Matrix

Reciprocal of any square matrix is called as it’s inverse. For a matrix to be invertible, there are two basic conditions to be satisfied:

- The matrix for which we want to find the inverse needs to be a square matrix. Meaning, it should have an equal number of rows and columns.
- The determinant of matrix should not be zero. If it is so, matrix is said to be non-invertible.

**Syntax:**

Following is the syntax for MINVERSE function in Excel which can be used to compute the inverse of a matrix:

Where,

- array – Is a mandatory argument that specifies an array of values representing a matrix.

### Examples of MINVERSE in Excel

Lets us discuss the MINVERSE in Excel with some examples.

#### Example #1 – Computing Inverse of a 2X2 Matrix

A matrix with two rows and two columns is considered as a 2X2 matrix. Suppose we have a 2X2 matrix as shown below:

Well, if you check, this matrix follows both of the conditions that are mandatory for a matrix to be invertible.

- Since it has two rows and two columns, it is a square matrix
- Determinant of a matrix can be computed as “ad-bc”. Here a=2, b=8, c=6 and d=9. Thus ad-bc results in (2*9)-(6*8) = 18-48 = 30 which is non-zero.

Hence, it is clear that the given matrix is invertible. We will store inverse of this matrix in column D and E spread along the cells D2:E3. See the screenshot below:

**Step 1:** Select all the cells under the Inverse Matrix section from D2 to E3 as shown below:

**Step 2:** In the active cell (cell D2), start typing **=MINV** and you’ll see all the formulae associated with that keyword. Out of those, select the MINVERSE function by double-clicking on it, so that you can find out the inverse of a given 2X2 matrix.

**Step 3:** The mandatory argument which is needed for this function is an array. Use the original matrix cells containing values as an array for this one (i.e. A2:B3 in our case). Note that, this is a mandatory argument for MINVERSE function. See the screenshot below:

**Step 4:** As discussed earlier, MINVERSE is compatible with arrays only. Thus, instead of pressing the Enter key, we need to press **Ctrl + Shift + Enter** button. A sequence of keys which converts the formula into an array formula. Once you hit the button, you can see the inverse of a given matrix in D2:E3 as shown below:

Notice the curly braces within which the entire formula is enclosed. These are indications that the formula is working as an array formula over the given range.

#### Example #2 – Computing Inverse of a 4X4 Matrix

Let us now consider a 4X4 square matrix as shown below for which we need to compute the inverse.

Incidentally, across cells F2 to I5, we will be storing inverse of our original matrix. Follow the steps below to compute the inverse of the original matrix spread along with cells A2 to D5.

**Step 1:** Select all the cells for Inverse matrix varying across F2 to I5 as shown in the screenshot below:

Here is an interesting task for you, the Original Matrix is invertible (which means it should satisfy both of the conditions). Could you check if the determinant of this matrix is non-zero? (It definitely is, but check with manual calculations on your own.

**Step 2: **Inactive cell i.e. cell F2, initialize the formula for inverse of a matrix by typing **=MINVERSE(**

**Step 3:** Use the Original Matrix cells spread across A2: D5 as a mandatory array argument to this formula. Since that is the matrix array for which we wanted to find out the inverse.

**Step 4:** Close the parentheses to complete the formula and Press **Ctrl + Shift + Enter** key to convert this formula into an array formula. Remember, this formula is developed in a way that, is compatible with arrays only.

As soon as you Press the keyboard strokes, you’ll see an output as shown below under the Inverse Matrix section.

That is the Inverse matrix of our original matrix spread across A2: D5. Have a look at curly braces which are an indication that the formula is converted into an array. This is how we can use Excel MINVERSE function to compute the inverse matrix of any square matrix which has a non-zero determinant. This article ends here, let’s wrap some points to be remembered:

### Conclusion

- MINVERSE function in Excel is categorized under the “
**Math and Trigonometry**” section within**Formulas.** - This function helps us in finding out the inverse of a square matrix that has non-zero determinant value. Note that, MINVERSE is an array function and is developed in a way that it can only be compatible with arrays.

### Things to Remember

- A matrix for which you are expecting to compute an inverse matrix needed to be square. Meaning, it should have equals number of rows and columns.
- If the determinant of the original matrix is zero, you’ll get #NUM! error. Such matrix is called a Singular Matrix.
- If some extra cells are selected under the resulting matrix which are not actually a part of the matrix, you’ll get #N/A error.
- Matrix should contain numeric values only. If there are any blank cell or text values under the given matrix, you’ll face #VALUE! error while computing an inverse of the same.
- Array argument can also be provided as array constants such as {2, 3; 4, 5}. In which the rows and column arguments are separated by semicolon within the curly braces.

### Recommended Articles

This is a guide to MINVERSE in Excel. Here we discuss How to use MINVERSE in Excel along with practical examples and downloadable excel template. You can also go through our other suggested articles –