23.08.2023 Views

CFI-Excel-eBook

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Corporate Finance Institute Excel

Information

ERROR.TYPE

Test for a specific error value

error_val

What is the ERROR.TYPE Function?

The ERROR.TYPE Function is categorized as an Information function. The

function returns a number that corresponds to a specific error value. If there is

no error, it will return #N/A.

While doing financial analysis, we can use this to test a specific error value.

Also, we can use ERROR.TYPE to display a customized error message. This can

be done using the IF function. The IF function can be used to test for an error

value and return a text string, such as a message, instead of the error value.

Formula

=ERROR.TYPE(error_val)

Where:

Error_value (required argument) – It is the error value for whom we wish to

find the identifying number. Though error_val can be the actual error value, it

will usually be a reference to a cell containing a formula that we want to test.

The numbers provided by Excel:

If error_val is

ERROR.TYPE returns

#NULL! 1

#DIV/0! 2

#VALUE! 3

#REF! 4

#NAME? 5

#NUM! 6

#N/A 7

#N/A 8

Anything else

#N/A

corporatefinanceinstitute.com

88

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!