The Excel Mdeterm function calculates the determinant of a square matrix.
The syntax of the function is:
where the array argument is an array of numeric values, that represent a square matrix (i.e. has the same number of rows as columns).
In the examples below, the Excel Mdeterm function is used to calculate the determinant of a 2x2 and a 3x3 matrix.
The above spreadsheet on the right shows a simple 2x2 matrix. The determinant of this matrix can be calculated using the Excel Mdeterm function as follows:
This gives the result -9.
The determinant of the simple 3x3 matrix aboveon the right can be calculated using the following Excel Mdeterm function:
This gives the result 40.
For further details and examples of the Excel Mdeterm function, see the Microsoft Office website.
If you get an error from the Excel Mdeterm Function, this is likely to be the #VALUE! error: