Returns the matrix product of two arrays. The result is an array with the same number of rows as array1 and the same number of columns as array2.
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
The number of columns in array1 must be the same as the number of rows in array2, and both arrays must contain only numbers.
Array1 and array2 can be given as cell ranges, array constants, or references.
MMult returns the #VALUE! error when:
Any cells are empty or contain text.
The number of columns in array1 is different from the number of rows in array2.
The size of the resulting array is equal to or greater than a total of 5,461 cells.
The matrix product array a of two arrays b and c is:
where i is the row number, and j is the column number.
Formulas that return arrays must be entered as array formulas.