totn Excel Functions

MS Excel: How to use the MDETERM Function (WS)

This Excel tutorial explains how to use the Excel MDETERM function with syntax and examples.

Description

The Microsoft Excel MDETERM function returns the matrix determinant of an array.

The MDETERM function is a built-in function in Excel that is categorized as a Math/Trig Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the MDETERM function can be entered as part of a formula in a cell of a worksheet.

Syntax

The syntax for the MDETERM function in Microsoft Excel is:

MDETERM( array )

Parameters or Arguments

array
An array of numbers. The array must have the same number of rows as the number of columns.

Returns

The MDETERM function returns a numeric value.
If any of the cells in the array contain empty or non-numeric values, the MDETERM function will return the #VALUE! error.
If the array does not contain the same number of rows as the number of columns, the MDETERM function will return the #VALUE! error.

Applies To

  • Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Function

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel MDETERM function examples and explore how to use the MDETERM function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the Excel spreadsheet above, the MDETERM examples will return the following:

=MDETERM(A1:B2)
Result: 1.81

=MDETERM(A1:C3)
Result: #VALUE!

=MDETERM({1,2;3,4})
Result: -2

=MDETERM({1,2,1;3,4,2;1,1,2})
Result: -3