Skip to main content

Excel MDETERM Function

The MDETERM function returns the matrix determinant of an array.

mdeterm function 1




  • 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.


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:


Or, use cell references to make the formula dynamic:


mdeterm function 2

Related functions

Excel MMULT Function

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.

Excel MINVERSE Function

The MINVERSE function returns the inverse matrix of a given array.

Excel MUNIT Function

The MUNIT function creates a unit matrix for a given specified dimension.

The Best Office Productivity Tools

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.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations