# IFERROR

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function evaluates a formula and returns a value you provide if there is an error or the formula result.

## Syntax

IFERROR(*value*,error)

## Arguments

This function has these arguments:

| **Argument** | **Description** |
| -------- | ----------- |
| *value* | Value or expression to evaluate |
| *error* | Value to return if the formula returns an error |

## Remarks

The following error types are evaluated, #VALUE!, #REF!, #NUM!, #NAME?, #DIV/O, #N/A, or #NULL

## Data Types

Accepts any type of formula for the value. Returns any data type.

## Example

`IFERROR(A3/A5,"dogs")`

## Version Available

This function is available in product version 5.0 or later.

## See Also

[AND](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionAND) \| [FALSE](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsDtoG/FunctionFALSE) \| [Logical Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functslogic)