ERROR.TYPE Function
The ERROR.TYPE function is one of the information functions. It is used to return the numeric representation of one of the existing errors.
The ERROR.TYPE function syntax is:
ERROR.TYPE(value)
where value is an error value entered manually or included into the cell you make reference to. The error value can be one of the following:
| Error value | Numeric representation |
| #NULL! | 1 |
| #DIV/0! | 2 |
| #VALUE! | 3 |
| #REF! | 4 |
| #NAME? | 5 |
| #NUM! | 6 |
| #N/A | 7 |
| #GETTING_DATA | 8 |
| Other | #N/A |
To apply the ERROR.TYPE function,
- select the cell where you wish to display the result,
- click the Insert Function
icon situated at the top toolbar,
or right-click within a selected cell and select the Insert Function option from the menu,
or click the
icon situated at the formula bar,
- select the Information function group from the list,
- click the ERROR.TYPE function,
- enter the required argument,
- press the Enter button.
The result will be displayed in the selected cell.
