ISERRORformula is used to check if a value contains an error. This formula returns
TRUEif the value is an error, and
FALSEif it is not. This function is most commonly used in combination with other formulas that can return errors, to ensure that the resulting value is valid.
- How to use
- Examples of using
ISERRORformula not working?
- Similar formulas to
ISERROR formula with the syntax shown below, it has 1 required parameter:
- value (required):
The value to be checked for errors. This can be a reference to a cell containing a formula or a value, or a formula itself.
ExamplesHere are a few example use cases that explain how to use the
ISERRORformula in Google Sheets.
Checking for errors in formulas
ISERROR formula can be used to check if a formula contains an error, such as a #DIV/0! error. This can be useful when building more complex formulas that rely on the outputs of other formulas.
Validating user input
When creating a spreadsheet that will be used by others, it can be useful to validate the input they provide. The
ISERROR formula can be used to check if user input contains an error, and prompt the user to correct their input if necessary.
Filtering out errors from data sets
When working with large data sets, it is common to encounter errors in the data. The
ISERROR formula can be used to filter out rows or columns containing errors, ensuring that only valid data is included in your analysis.
ISERRORnot working? Here are some common mistakes people make when using the
ISERRORGoogle Sheets Formula:
Incorrect argument type
The value argument must be a cell reference or a formula that returns a value. Make sure the value argument is correct.
Missing value argument
The ISERROR formula requires a value argument. Make sure the value argument is not empty.
Incorrect function name
Make sure you have spelled the function name correctly. The correct function name is ISERROR, all in uppercase.
The following functions are similar to
ISERROR or are often used with it in a formula:
IFERRORformula is used to check whether a specified value results in an error or not. If the value results in an error, then it returns a user-specified value instead of the error. This function is commonly used to prevent errors from breaking a formula or to replace error messages with custom messages.
ISNAfunction checks whether a value is #N/A. If the value is #N/A, the function returns TRUE; otherwise, it returns FALSE. This function is commonly used in combination with other functions that may return #N/A as a result.
ISTEXTfunction checks whether the value provided is a text string or not. It returns TRUE if the value is text and FALSE if it is any other data type. This function is commonly used when working with data sets that contain text and non-text values.
ISNUMBERformula is used to check if a given value is a number. It returns TRUE if the value is a number and FALSE if it is not. This formula is commonly used in data cleaning and validation to identify and remove non-numeric values or to ensure that a cell only contains a number.
You can learn more about the
ISERROR Google Sheets function on Google Support.