Skip to content

iserr

Test for any error except #N/A.

v = iserr(value)

Like iserror but excludes #N/A. Useful for catching computational errors while letting #N/A (typically meaning “data not available”) propagate.

iserr(1/0) % 1
iserr(NA()) % 0
  • iserror — Test whether a value is any error.
  • isna — Test whether a value is #N/A.