EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login
Home Excel Excel Resources Excel Tips Inverse Matrix in Excel
Secondary Sidebar
Excel Functions
  • Excel Tips
    • Recover Document in Excel
    • Excel Shortcut to Select Row
    • Excel Header Row
    • Excel Insert Button
    • Excel Translate
    • Budget in Excel
    • KPI Dashboard in Excel
    • Blank Invoice Excel Template
    • Write Formula in Excel
    • Auditing Tools in Excel
    • Autofit Row Height in Excel
    • Formatting Text in Excel
    • Add Rows in Excel Shortcut
    • Divide Cell in Excel
    • Compare Two Columns in Excel for Matches
    • Excel Troubleshooting
    • Unprotect Excel Workbook
    • Subtract Date in Excel
    • Carriage Return in Excel
    • Negative Numbers in Excel
    • Worksheets in Excel
    • Excel Match Multiple Criteria
    • Exponential Moving Average Formula
    • Sentence Case in Excel
    • Excel Reverse Order
    • Excel Timesheet Template
    • Weighted Average in Excel
    • CTRL Shift-Enter in Excel
    • Excel Expense Tracker
    • INDEX MATCH Function in Excel
    • Percent Change in Excel
    • Drag and Drop in Excel
    • Shade Alternate Rows in Excel
    • Excel Database Template
    • Inverse Matrix in Excel
    • New Line in Excel Cell
    • Format Cells in Excel
    • Excel Text with Formula
    • Project Management Template in Excel
    • Vlookup vs Index Match
    • Embedded in Excel
    • Count Colored Cells in Excel
    • Excel Hacks
    • Column Header in Excel
    • Database Function in Excel
    • Excel Spell Check
    • Linear Interpolation in Excel
    • Convert Excel to CSV
    • Excel Not Responding
    • Delta Symbol in Excel
    • Excel Mortgage Calculator
    • Excel Show Formula
    • Break Links in Excel
    • VLOOKUP Examples in Excel
    • Alternate Row Color Excel
    • Checklist in Excel
    • Microsoft Office Tips
    • Excel vs Access
    • Excel Change Case
    • Count Characters in Excel
    • Formula Bar in Excel
    • Invoice Template in Excel
    • Find and Replace in Excel
    • PowerPivot in Excel
    • Wildcard in Excel
    • Line Break in Excel
    • NULL in Excel
    • Text Formula in Excel
    • Family Tree in Excel
    • Insert Calendar in Excel
    • Page Setup in Excel
    • Search For Text in Excel
    • Switching Columns in Excel
    • 3D Cell Reference in Excel
    • Roadmap Template in Excel
    • Cell References in Excel
    • Excel Automation
    • Matching Columns in Excel
    • Evaluate Formula in Excel
    • How to Find Mean in Excel
    • How to Add Cells in Excel
    • Project Timeline in Excel
    • TODAY Formula in Excel
    • Poisson Distribution in Excel
    • YEAR Formula in Excel
    • REPLACE Formula in Excel
    • Create Spreadsheet in Excel
    • SEARCH Formula in Excel
    • HYPERLINK Formula in Excel
    • Pivot Table with Multiple Sheets
    • COLUMNS Formula in Excel
    • DAY Formula in Excel
    • RIGHT Formula in Excel
    • INDIRECT Formula in Excel
    • Excel IRR Formula
    • Pivot Table Sort
    • OR Formula in Excel
    • Pivot Table Formula in Excel
    • How to Edit Drop Down List in Excel?
    • WEEKDAY Formula in Excel
    • Chart Wizard in Excel
    • Time Difference in Excel
    • Lookup Table in Excel
    • SUBTOTAL Formula in Excel
    • LOOKUP Formula in Excel
    • Themes in Excel
    • Group Worksheets in Excel
    • Excel ISNUMBER Formula
    • 3D Maps in Excel
    • VLOOKUP Tutorial in Excel
    • Moving Columns in Excel
    • Grouping Columns in Excel
    • Excel Formula of Percentage
    • Excel Leading Zeros
    • Timesheet in Excel
    • Nested IF Formula in Excel
    • SUMIF Formula in Excel
    • Concatenation in Excel
    • Excel Insert Page Break
    • LEN Formula in Excel
    • Insert Comment in Excel
    • Excel Print
    • Fractions in Excel
    • Excel Add a Column
    • Borders in Excel
    • Excel Sum by Color
    • Excel vs Google Sheets
    • Calculate Percentage Increase in Excel
    • Excel Format Phone Numbers
    • Excel Search Box
    • Excel vs CSV
    • Excel vs Numbers
    • Excel Concatenate Date
    • Excel Bullet Points
    • Calculate Compound Interest in Excel
    • Find External Links in Excel
    • Excel Comma Style
    • Excel Remove Leading Spaces
    • Combine First and Last Name in Excel
    • How to Calculate Ratio in Excel
    • SUMPRODUCT Function with Multiple Criteria
    • Create Excel Template
    • Excel Greater than or Equal
    • Excel Keyboard Shortcuts
    • Excel Row vs Excel Column
    • Excel Operators
    • Excel Text Compare
    • Excel Uppercase Function
    • Excel Auto Numbering
    • Watermark in Excel
    • Excel Delete Row Shortcut
    • Excel Word Count
    • Row Count in Excel
    • Excel Grade Formula
    • Excel Percentage Difference
    • Excel Rows and Columns
    • Excel Group
    • Excel Move Columns
    • Excel Row Height
    • Excel Sparklines
    • Excel Drawing a line
    • Multiple IFS in Excel
    • Excel Strikethrough
    • Numbering in Excel
    • Share Excel Workbook
    • Excel Shortcut For Merge Cells
    • Excel OneDrive
    • Excel Track changes
    • Excel Hide Formula
    • Excel Filter Shortcuts
    • Excel 3D Reference
    • Protect Excel Workbook
    • Excel Moving Averages
    • Excel Row Limit
    • Excel Absolute Value
    • Excel Print Area
    • Excel Format Painter
    • Excel Separate text
    • Excel Autofit
    • Excel Columns to Rows
    • Excel Paste Shortcut Option
    • Excel Rows to Columns
    • Excel Insert Row Shortcut
    • Excel Extensions
    • Excel Unmerge Cells
    • Divide in Excel Formula
    • Excel Compare Two Columns
    • Not Equal To Excel
    • Excel Remove Duplicates
    • Excel Remove Spaces
    • Excel Calculate Age
    • Copy Excel Sheet
    • Excel Conditional Formatting Based on Another Cell Value
    • Excel Cell Reference
    • Excel Split Cell
    • Excel Circular Reference
    • Highlight Every Other Row in Excel
    • Errors in Excel
    • Excel Delete Pivot Table
    • Excel Pivot Table
    • Subtraction in Excel
    • Count Unique Values in Excel
    • Excel Highlight Duplicates
    • Excel Data Formatting
    • Random Numbers in Excel
    • Basic Excel Formulas
    • Page Numbers in Excel
    • Excel CAGR Formula
    • Excel Combine cells
    • IFERROR with VLOOKUP in Excel
    • Column Sort in Excel
    • Print Comments in Excel
    • Cheat Sheet of Excel Formulas
    • Remove Hyperlinks in Excel
    • Excel Drop Down List
    • Remove (Delete) Blank Rows in Excel
    • Relative Reference in Excel
    • Subscript in Excel
    • Superscript in Excel
    • Excel Insert Multiple Rows
    • Excel Absolute Reference
    • Unhide Columns in Excel
  • Excel Functions (12+)
  • Excel Tools (114+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Lookup Reference Functions in Excel (35+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (24+)
  • Statistical Functions in Excel (59+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (22+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL COURSE
  • Online Excel Data Analysis Course
  • Excel for Finance Course

Inverse Matrix in Excel

By Madhuri ThakurMadhuri Thakur

inverse matrix in excel

Excel Inverse Matrix (Table of Contents)

  • Introduction to Inverse Matrix in Excel
  • Examples of Inverse Matrix in Excel

Introduction to Inverse Matrix in Excel

A matrix for which you want to compute the inverse needs to be a square matrix. It means the matrix should have an equal number of rows and columns. The determinant for the matrix should not be zero. If it is zero, you can find the inverse of the matrix. The theoretical formula for computing the inverse of a matrix A is as follows:

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

Inverse Matrix in Excel 1-1

Where,

All in One Excel VBA Bundle(120+ Courses, 30+ Projects)
Basic ExcelAdvanced ExcelVBA & MacrosExcel Dashboards
Pivot TablesStatistical FunctionsFinancial FunctionsCharts & Graphs
Price
View Courses
120+ Online Courses | 30+ Projects | 500+ Hours | Verifiable Certificates | Lifetime Access
4.9 (64,412 ratings)

|A| = Determinant of matrix A.

(adj A) =  Adjoint of matrix A.

If we put both these values in the formula above, we can get the inverse of any matrix A. It sometimes becomes a very tedious job to compute the inverse of a matrix. Mathematicians will be happy to know if any function can work for them and compute the inverse of a matrix for them.

MINVERSE Function to Compute Inverse of a Matrix

Excel MINVERSE function allows a user to compute the inverse of any square matrix which has a non-zero determinant. The inversed matrix has the size same as the original matrix. The inverse matrix computed is of the size same as the original matrix.

Syntax:

=MINVERSE(array)

Inverse syntax

Argument: 

array – Is an array of values representing a matrix.

In this article, we will see how to compute the inverse of a square matrix.

Examples of Inverse Matrix in Excel

Let’s understand how to create the Inverse Matrix in Excel with some examples.

You can download this Inverse Matrix Excel Template here – Inverse Matrix Excel Template

Example #1 – Compute Inverse of a 2X2 Matrix

A 2X2 matrix is something that has two rows and two columns. Suppose we have a 2X2 square matrix, as shown in the image below.

Inverse Matrix in Excel 1-1

Step 1: Decide a range of 4 cells (since we have a 2X2 matrix) in the same excel sheet, which will be holding your inverse of matrix A. Here I have chosen cells A1:C5 as a range for the inverse of matrix A.

Inverse Matrix in Excel 1-2

These are the ranges where the inverse of matrix A will be computed.

Step 2: In cell B4, start typing the formula for matrix inverse =MINV. You will see the range of formulae associated with the keyword. Double click to select the MINVERSE out of those so that you can compute the inverse of matrix A. It is mandatory to select all the cells where your inverse will be computed.

Inverse Matrix in Excel 1-3

Step 3: Provide an array argument for the MINVERSE function as B1:C2 and close the parentheses to complete the formula. Note that the array we are providing as an argument to the function MINVERSE consists of the cells with values for original matrix A.

Inverse Matrix in Excel 1-4

Step 4: To see the output of the formula every time we need to press the Enter key. But in this case, you need to hit Ctrl + Shift + Enter keys so that the formula gets converted into an array formula which looks like this {=MINVERSE(B1:C2)} and works along with all the cells associated with the inverse of A.

Inverse Matrix in Excel 1-5

You can see across the cells B1:C2 the matrix is inverse of the original matrix A.

We also can check whether the inverse we get through the MINVERSE function is correctly captured or not. The way to check it is to multiply matrix A and A-1. The multiplication should result in an identity matrix.

Inverse 1-4

We can achieve the matrix multiplication by using the MMULT function in excel. It multiplies the matrices. See the output in an array of cells B1:C5.

Inverse Matrix in Excel 1-6

Example #2 – Compute Inverse of a 4X4 Matrix

Step 1: Input a 4X4 matrix across the cells A1:E4 as shown in the screenshot below. This is the matrix for which we need to compute the inverse matrix.

Compute Inverse of a 4X4 Matrix 2-1

Step 2: Select cells from A6 to E9. These are the cells where we will compute the inverse of a 4X4 matrix named A.

Compute Inverse of a 4X4 Matrix 2-2

Step 3: Keeping all the cells selected, in cell B6, start typing the formula for matrix inverse as =MINV, through the list of formulae associated with the keyword, double click to select MINVERSE.

Compute Inverse of a 4X4 Matrix 2-3

Step 4: Use array reference B1:E4 as an array argument to this function and close the parentheses to complete the formula.

Array Argument

Step 5: Instead of pressing the Enter key, as usual, press Ctrl + Shift + Enter keys simultaneously to compute the inverse values for all the cells across B1:E4. If you do not do this, the formula will not be converted into an array formula and will either be applied only to the current cell and if you try to drag it for other cells, it will give you an error.

Formula to Current Celll

This is how we can compute the inverse of a matrix in Excel using the MINVERSE function. We can also check with the help of the MMLUT function whether the inverse is actually computed rightly or not.

using MINVERSE function

Select the ranges from B1 to E9, where we can check whether the multiplication of these two matrices is an identical matrix or not.

multiplication of these two matrices

It comes as an identical matrix. Therefore we can say that the inverse we captured is rightly captured. This is it from this article. Let’s wrap the things up with some points to be remembered.

Things to Remember

  • If there is any blank cell or non-numeric value in a given matrix, MINVERSE will give you #VALUE! Error.
  • In the resulting matrix, if you select some extra cells, you will receive #N/A error.
  • If a given matrix is a singular matrix (for which the inverse does not exist), you will receive #NUM! Error.
  • It is recommended to use MINVERSE as an array formula. Otherwise, you may get some weird results across the cells. Like getting value errors when you drag and drop the formula across the rows.
  • If you don’t want it to be used as an array formula, you need to input the same formula across all the cells to get the result.

Recommended Articles

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

  1. Matrix in Excel
  2. Excel Correlation Matrix
  3. MINVERSE in Excel
  4. MMULT in Excel
Popular Course in this category
Excel Training (23 Courses, 9+ Projects)
  23 Online Courses |  9 Hands-on Projects |  110+ Hours |  Verifiable Certificate of Completion
4.9
Price

View Course

Related Courses

Excel Data Analysis Training (17 Courses, 8+ Projects)4.9
Excel for Finance Training (18 Courses, 7+ Projects)4.8
0 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

Download Inverse Matrix Excel Template

EDUCBA

Download Inverse Matrix Excel Template

EDUCBA

डाउनलोड Inverse Matrix Excel Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more