The Google Sheets function ISLOGICAL is a handy tool for checking whether a given value is a logical statement, specifically confirming if it is either TRUE or FALSE. This function is useful in various scenarios, such as validating input data or in conditional formatting to create dynamic spreadsheets.
Syntax
ISLOGICAL(value)
- value: This is the input you want to check. It can be a cell reference, a number, text, or any other value type.
Example #1
ISLOGICAL(TRUE)
This function checks if the value is TRUE. The result would be TRUE.
Example #2
ISLOGICAL(FALSE)
This function checks if the value is FALSE. The result output will be TRUE.
Example #3
ISLOGICAL(3.14)
This function evaluates whether 3.14 is a logical value. The outcome will be FALSE since it is a number, not a logical value.
Error handling
- VALUE! This error arises if the specified input is an unrecognized format that cannot be evaluated as logical.