Excel MINVERSE Function
The MINVERSE function returns the inverse matrix of a given array.
Syntax
=MINVERSE(array)
Arguments
- array (required): An array of numbers. The array must have the same numbers of rows and columns. It can be provided as:
- A cell range, for example, A1:C3;
- An array constant, for example, {1,1,1;2,2,2;3,3,3}.
Return Value
The MINVERSE function returns an inverse matrix with the same dimensions as the array provided.
Function Notes
- If you are using the Excel versions that are prior to Microsoft 365, you should select the output range first, then enter the MINVERSE formula in the top-left-cell of the output range, and then press Ctrl + Shift + Enter to apply the function. For the users of Microsoft 365 and newer versions of Excel, you can just enter the formula in a cell, and then press Enter.
- The output range you selected should have the same dimensions as the given array.
- MINVERSE will return the #N/A error if the cells you selected that are outside the range of the resulting matrix.
- MDETERM will return the #VALUE! error if:
- Any of the cells in the array are empty or contain non-numeric values;
- The array does not contain the same number of rows as the number of columns.
- MINVERSE will return the #NUM! error if a square matric cannot be inverted since it has a determinant of 0.
Example
Supposing you are using one of the Excel versions that are prior to Microsoft 365, and have an array as below screenshot shown, to get its inverse matrix, please select an output range with the same dimensions, then copy or enter the formula below in the top-left-cell of the output range, and press Ctrl + Shift + Enter to get the result:
=MINVERSE({0.1,2,4;1,17,0;-2.5,3,-3})
Or, use cell references to make the formula dynamic:
=MINVERSE(B3:D5)
Related functions
The MUNIT function creates a unit matrix for a given specified dimension.
The Excel MMULT function returns the matrix product of two arrays. The array result has the same number of rows as array1 and the same number of columns as array2.
The MDETERM function returns the matrix determinant of an array.
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...
Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.