TX Sheet Control

MMULT Function

Function

Return the matrix product of two arrays. array_or_dimension and array2 are numeric arrays or ranges, and the number of columns of the first must equal the number of rows of the second; otherwise MMULT returns #VALUE!. The result has as many rows as the first array and as many columns as the second and spills into that range.

Syntax

MMULT(array_or_dimension, array2)

Category: Math. Minimum arguments: 2. Maximum arguments: 2.

Available for supported offline calculation.

Examples

=MMULT({1,2;3,4},{1,0;0,1})

The formula spills {1, 2; 3, 4}, because the second array is the identity matrix.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also