Excel Error.type Function

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


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.


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
#REF! 4
#NAME? 5
#NUM! 6
#N/A 7
Anything else #N/A


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.

You might also like:


So empty here ... leave a comment!

Leave a Reply

Your email address will not be published. Required fields are marked *