Excel MDETERM Function
The MDETERM function returns the matrix determinant of an array.
Syntax
=MDETERM(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 MDETERM function returns a numeric value.
Function Notes
- 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.
- The following equation takes an example to show how the matrix determinant is calculated:
MDETERM(A1:C3) = A1*(B2*C3-B3*C2) + A2*(B3*C1-B1*C3) + A3*(B1*C2-B2*C1)
√ Note: For more information about the determinant, please view the Wikipedia Determinant Page.
Example
Supposing you have an array as below screenshot shown, to get its determinant, please copy or enter the formula below in a blank cell, and press Enter to get the result:
=MDETERM({0.1,2,4;1,17,0;-2.5,3,-3})
Or, use cell references to make the formula dynamic:
=MDETERM(B3:D5)
Related functions
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 MINVERSE function returns the inverse matrix of a given array.
The MUNIT function creates a unit matrix for a given specified dimension.
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.