SpreadJS Documentation > Formula Reference > Formula Functions > IFERROR |
This function evaluates a formula and returns a value you provide if there is an error or the formula result.
IFERROR(value,error)
This function has these arguments:
Argument | Description |
---|---|
value | Value or expression to evaluate |
error | Value to return if the formula returns an error |
The following error types are evaluated, #VALUE!, #REF!, #NUM!, #NAME?, #DIV/O, #N/A, or #NULL
Accepts any type of formula for the value. Returns any data type.
IFERROR(A3/A5,"dogs")