EXCEL MMULT FUNCTION

The MMULT function in Excel computes the matrix product of two arrays (representing matrices).

Syntax :

=MMULT( A1:D3, F1:G4 )

Parameters :

Array1 and array2 are numeric value arrays representing matrices, with the number of columns in array1 equal to the number of rows in array2. The resultant matrix has the same number of rows and columns as array1 and array2.

Step By Step Guide of MMULT Function

Example :

The formula =MMULT, the 3×4 matrix in cells A1-D3 is multiplied by the 4×2 matrix in cells F1-G4 ( A1:D3, F1:G4 ) Cells I1-J3 display the resultant 3×2 matrix.

  • #VALUE! – Occurs if any of the following conditions are met: one of the given arrays includes a blank or a non-numeric value; the number of columns in array1 does not equal the number of rows in array2.
  • #N/A – Occurs in cells that are not within the range of the resultant matrix.
    For example, if we highlighted cells I1-J4 before entering the Mmult function in the above example, the ‘extra’ cells, I4 and J4, are not included in the resultant matrix. As a result, these cells will show the #N/A error.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now