# MMULT Function

The MMULT function is one of the math and trigonometry functions. It is used to return the matrix product of two arrays and display the first value of the returned array of numbers.

The MMULT function syntax is:

MMULT(array1, array2)

where array1, array2 is an array of numbers.

Note: if any of the cells in the array contain empty or non-numeric values, the function will return the #N/A error.
If the number of columns in array1 is not the same as the number of rows in array2, the function will return the #VALUE! error.

To apply the MMULT function,

1. select the cell where you wish to display the result,
2. click the Insert function icon situated at the top toolbar,
   or right-click within a selected cell and select the Insert Function option from the menu,
   or click the icon situated at the formula bar,
3. select the Math and trigonometry function group from the list,
4. click the MMULT function,
5. enter the required arguments separating them by comma,
6. press the Enter button.

The result will be displayed in the selected cell.