
Return TRUE only for the logical values TRUE and FALSE.
ISLOGICAL returns TRUE only for the logical values TRUE and FALSE. It returns FALSE for text, numbers, blanks, and errors.
The easiest mistake here is assuming that 1, 0, or the text "TRUE" count as logical values. They do not. This function is strict.
Returns TRUE only for real TRUE or FALSE values.
TRUE means the value is logical. FALSE means it is not.
=ISLOGICAL(value)
You can test a cell value, a comparison, or any expression.
| Function | Main job | Result for 1 |
|---|---|---|
ISLOGICAL |
Checks for TRUE or FALSE | FALSE |
ISNUMBER |
Checks for numeric values | TRUE |
ISTEXT |
Checks for text values | FALSE |
TYPE |
Returns a type code | 1 for numbers, 4 for logical values |
This function is useful when a cell is supposed to hold a real decision value instead of a label or numeric flag. It helps keep workflow columns consistent, especially when a sheet mixes user input with formula results.
Another good use is auditing formula output. A comparison like A1>B1 produces a logical result, so ISLOGICAL returns TRUE. That makes it helpful when a later step expects a clean TRUE or FALSE value.
This returns TRUE for real TRUE or FALSE values.
=ISLOGICAL(A1)
Check whether A1 is a logical value. Formula: =ISLOGICAL(A1).
The text "TRUE" is still text.
=ISLOGICAL("TRUE") // Returns FALSE.
Check whether the text "TRUE" is logical. Formula: =ISLOGICAL("TRUE").
A comparison result is a real logical value.
=ISLOGICAL(100>50) // Returns TRUE.
Check whether 100>50 produces a logical value. Formula: =ISLOGICAL(100>50).
The number 1 is not the same thing as TRUE here.
=ISLOGICAL(1) // Returns FALSE.
Check whether 1 counts as a logical value. Formula: =ISLOGICAL(1).
ISLOGICAL checks for TRUE or FALSE.Tell your friends about this post