Return the logical value TRUE if the cell contains either a TRUE or FALSE statement.
=ISLOGICAL(value)
Return the logical value TRUE if the cell contains either a TRUE or FALSE statement but FALSE if the cell contains any other values, including an empty cell.
ISLOGICAL is part of the collective IS functions which check specified values and return TRUE or FALSE depending on the outcome. The IS functions are useful for testing the outcome of a calculation and can be combined with the IF function in formulas to locate errors or get information about a value before performing another calculation.
The collective of IS functions are ISBLANK(value), ISERR(value), ISERROR(value), ISLOGICAL(value), ISNA(value), ISNONTEXT(value), ISNUMBER(value), ISREF(value) and ISTEXT(value).
To test the reverse of the function (e.g. to test if a cell does NOT contain an error), combine the ISLOGICAL and NOT functions - =NOT(ISLOGICAL(C7)) where cell reference C7 is the value being tested.
ISLOGICAL syntax requires a value to test. The value argument can be a blank (empty) cell, error, logical value, text, number, reference value, or a name referring to any of these.
ISLOGICAL with text strings or numerical values.
In the examples below, the ISLOGICAL function is used to determine whether cells contain a TRUE or FALSE statement.
Use the ISLOGICAL function to return the logical value TRUE if a cell contains a TRUE or FALSE statement.

Syntax
ISLOGICAL(value)
The ISLOGICAL function requires 1 value argument:
- value. Required. Generally a cell reference.
Try it now!
- Select the answer from the drop down lists in the grey cells.
Scope
ISLOGICAL can be used on its own to determine whether a cell contains a TRUE or FALSE statement or combined within a formula to test a value prior to performing additional operations.
|
=ISLOGICAL(1/0) || result is FALSE as divide by zero triggers a #DIV/0! error not a TRUE or FALSE statement. |
|
=ISLOGICAL(C7) || result is FALSE if cell reference C7 does not contain a TRUE or FALSE statement. |
|
=IF(ISLOGICAL(C7),"Statement is TRUE","Statement is FALSE") || when ISLOGICAL is TRUE, the result is "Statement is TRUE", otherwise it is "Statement is FALSE" |
Caveats
- Value arguments are not converted. Numeric values enclosed in double quotation marks are treated as text (e.g. "22"). Any IS functions requiring numeric values will therefore return a FALSE if the value is a text string.
Related Functions
- ISBLANK returns the logical value TRUE if a cell is blank or empty.
- ISERR returns the logical value TRUE for any error type except the #N/A error.
- ISERROR returns the logical value TRUE for any error type.
- ISLOGICAL returns the logical value TRUE if the cell contains either a TRUE or FALSE statement.
- ISNA returns the logical value TRUE if a cell contains the #N/A error
- ISNONTEXT returns the logical value TRUE if the cell contains any value that is not text.
- ISNUMBER returns the logical value TRUE if the cell contains a number.
- ISREF returns the logical value TRUE if the cell contains a reference.
- ISTEXT returns the logical value TRUE if the cell contains any text.
Functions Category