Excel uses the IFERROR function to address formula mistakes that might happen. If a formula produces an error, such as a #DIV/0! error (division by zero) or a #VALUE! error (invalid value), you can provide a value or an action to do. The syntax IFERROR function is the following:
IFERROR(value, value_if_error)