Checks if a value is any error type and returns TRUE or FALSE.
Cette fonction fonctionne de la même façon dans Google Sheets que dans Excel — même syntaxe et mêmes arguments.
ISERROR(value)The ISERROR function identifies if a cell or expression results in any error, including #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!. It is commonly used in conjunction with the IF function to handle potential errors gracefully in your calculations.
=ISERROR(10/0)Résultat : TRUE
Since dividing by zero results in a #DIV/0! error, the function returns TRUE.
=ISERROR(10/2)Résultat : FALSE
Since the calculation is valid, the function returns FALSE.
ISERROR checks for all error types, whereas ISERR checks for all errors except #N/A.