ERROR.TYPE
returns number corresponding to an error type · from excel · excel: not yet compared · sheets: not yet compared
signature
ERROR.TYPE(error_val)
returns: number
| argument | required |
|---|---|
| error_val | 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
=ERROR.TYPE(NA()) 7 errors
error values observed from the engine — each with a call that produces it.
| error | produced by |
|---|---|
| #N/A | =ERROR.TYPE(2) |