Note: The other languages of the website are Google-translated. Back to English

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

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings

 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save
time for you.

  • Designed for
    work scenarios, helps you solve
     Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30
    -day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

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
    when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations

Follow Us

Copyright © 2009 - | All rights reserved. Powered by ExtendOffice. | Sitemap
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Protected by Sectigo SSL