Checks if a value is any error type and returns TRUE or FALSE.
Hàm này hoạt động trong Google Sheets giống như trong Excel — cùng cú pháp và đối số.
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)Kết quả: TRUE
Since dividing by zero results in a #DIV/0! error, the function returns TRUE.
=ISERROR(10/2)Kết quả: 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.