Excel Error.type Function

This post will guide you how to use Excel ERROR.TYPE function with syntax and examples in Microsoft excel.

Table of Contents

Description

The Excel ERROR.TYPE function returns a numeric value of one of the error type in EXCEL. If No error exists, the #N/A error will be returned.

The ERROR.TYPE function is a build-in function in Microsoft Excel and it is categorized as an Information Function.

The ERROR.TYPE function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000, Excel 2011 for Mac.

Syntax

The syntax of the ERROR.TYPE function is as below:

= ERROR.TYPE (error_value)

Where the ERROR.TYPE function arguments are:
Error_value -This is a required argument.  The following error types can be used:

If error_val is ERROR.TYPE returns
#NULL! 1
#DIV/0! 2
#VALUE! 3
#REF! 4
#NAME? 5
#NUM! 6
#N/A 7
#GETTING_DATA 8
Anything else #N/A

Example

The below examples will show you how to use Excel ERROR.TYPE Function to return the numeric representation of one of the error type.

#1 = ERROR.TYPE (B1)

excel error type function example1

Note: The above excel formula will return the numeric representation of “#NUM!” error type.

Leave a Reply