MMULT

returns the matrix product of two arrays · from excel · excel: verified match · sheets: verified match

signature

MMULT(array1, array2)

returns: array

argumentrequired
array1 required
array2 required

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

ABCDEFGH
1 10212
2 20434
fx =MMULT(A1:B2, G1:H2) 16

errors

error values observed from the engine — each with a call that produces it.

errorproduced by
#VALUE! =MMULT(,)
#ERROR! =MMULT(1)
#NUM! =MMULT(A1, C1)

related

  • ABS returns absolute value of a number
  • ACOS returns arccosine of a number
  • ACOSH returns inverse hyperbolic cosine
  • ACOT returns the arccotangent of a number
  • ACOTH returns the inverse hyperbolic cotangent
  • ADD adds two numbers — sheets exposes the + operator as a function