
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.
ISLOGICAL is helpful when a formula depends on real TRUE/FALSE values rather than text labels that only look similar. It gives the workbook a clean way to confirm that a result is genuinely logical before another step relies on it.
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 is checking the value type, not whether something only looks like a logical answer.
That makes the example useful when a worksheet depends on real boolean results. It helps confirm that the cell truly contains a logical value.
=ISLOGICAL(A1)
In cell D2, check whether the value is a real logical value.
The text "TRUE" is still text. Even though it looks similar to TRUE, Excel treats it as ordinary text, so ISLOGICAL returns FALSE.
This is one of the easiest mistakes to make, so the example helps draw a clear line between a displayed word and a real logical value.
=ISLOGICAL("TRUE") // Returns FALSE.
In cell D3, check whether the text version of TRUE counts as logical.
A comparison result is a real logical value. Since 100>50 evaluates to TRUE, ISLOGICAL returns TRUE as well.
This makes the function useful for checking formula output too, not just typed cell values. A comparison can create a valid logical result even if the formula itself looks more complex.
=ISLOGICAL(100>50) // Returns TRUE.
In cell D4, check whether a comparison result counts as logical.
The number 1 is not the same thing as TRUE here. Even if a workflow uses 1 and 0 like flags, ISLOGICAL still returns FALSE because they are numbers, not logical values.
This helps prevent type confusion in models where numbers and booleans are mixed together. Similar meaning does not mean same data type.
=ISLOGICAL(1) // Returns FALSE.
In cell D5, check whether a numeric 1 counts as logical.
ISLOGICAL is for checking whether a value is really TRUE or FALSE. In this lesson, it helped separate real logical values from text labels like "TRUE" and from numeric values like 1 and 0.
That matters when later formulas depend on real boolean results. In Excel, a value that looks similar is not always the same type.
ISLOGICAL checks for TRUE or FALSE.Tell your friends about this post