MUNIT

returns identity matrix of given size · from excel · excel: verified match · sheets: verified match

signature

MUNIT(dimension)

returns: array

argumentrequired
dimension required

examples

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

fx =MUNIT(3) 1

errors

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

errorproduced by
#VALUE! =MUNIT(-1)
#ERROR! =MUNIT()

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