The ERROR.TYPE Function belongs to the Information category. The function returns a value that correlates to an error value. If no errors are found, it will return #N/A.
We may utilise this to evaluate a certain error value when performing financial analysis.
ERROR.TYPE can also be used to display a customised error message. The IF function may be used to do this. Instead of returning the error value, the IF function may be used to test for an error value and return a text string, such as a message.
Syntax:
=ERROR.TYPE(error_val)
Parameter list:
Example:
Now we’d want to enter a personalised message. What we want is for this formula to examine the provided cell reference, i.e. cell A2, to see if it contains either the #NULL! or the #DIV/0! error value.
If mistakes are discovered, the error value number is utilised in the CHOOSE worksheet function to show one of two.
Ask Your Query