
The Excel MMULT function returns the matrix product of two arrays. The array result contains the same number of rows as array1 and the same number of columns as array2. If returning multiple results in an array on the worksheet, enter as an array formula with control + shift + enter.
Perform matrix multiplication
The matrix product of two arrays
=MMULT (array1, array2)
The MMULT function returns the matrix product of two arrays. The column count of array1 must equal the row count of array 2. The array result will contain the same number of rows as array1 and the same number of columns as array2. For example, you can multiply a 4 x 2 array by a 2 x 2 array to return a 4 x 2 array result.
If returning multiple results in an array on the worksheet, enter as an array formula with control + shift + enter.
Notes:

The Excel MMULT function returns the matrix product of two arrays. The array result contains the same number of rows as array1 and the same number of columns as array2. If returning multiple results in an array on the worksheet, enter as an array formula with control + shift + enter.
Perform matrix multiplication
The matrix product of two arrays
=MMULT (array1, array2)
The MMULT function returns the matrix product of two arrays. The column count of array1 must equal the row count of array 2. The array result will contain the same number of rows as array1 and the same number of columns as array2. For example, you can multiply a 4 x 2 array by a 2 x 2 array to return a 4 x 2 array result.
If returning multiple results in an array on the worksheet, enter as an array formula with control + shift + enter.
Notes: