ISLOGICAL Function
ISLOGICAL Function

ISLOGICAL Function

Return TRUE only for the logical values TRUE and FALSE.

ExcelClash Team
PUBLISHED

Summary

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.

Purpose

Check logical values

Returns TRUE only for real TRUE or FALSE values.

Return Value

TRUE or FALSE

TRUE means the value is logical. FALSE means it is not.

Syntax

=ISLOGICAL(value)

You can test a cell value, a comparison, or any expression.

Arguments

  • value - [required] The value you want to test.

ISLOGICAL vs Other Functions

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

Using ISLOGICAL

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.

Example 1 - Check a real logical 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)
Check Answer
Challenge #1
Target: Sheet1!D2

In cell D2, check whether the value is a real logical value.

Example 2 - Reject text that looks logical

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.
Check Answer
Challenge #2
Target: Sheet1!D3

In cell D3, check whether the text version of TRUE counts as logical.

Example 3 - Accept a formula comparison

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.
Check Answer
Challenge #3
Target: Sheet1!D4

In cell D4, check whether a comparison result counts as logical.

Example 4 - Reject numeric flags

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.
Check Answer
Challenge #4
Target: Sheet1!D5

In cell D5, check whether a numeric 1 counts as logical.

Conclusion Recap

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.

  • Main job: ISLOGICAL checks for TRUE or FALSE.
  • Strict rule: Text like "TRUE" and numbers like 1 do not count.
  • Useful for: Decision flags and formula audits.
  • Works with: Logical results from comparisons too.
Tactical Arena
Share ISLOGICAL Function!

Tell your friends about this post

Discussion

ExcelClash is an interactive platform designed to level up your Excel skills through real-world exercises and challenges. Sharpen your logic, solve real spreadsheet problems, and learn faster.

© 2026 ExcelClash, Inc. All rights reserved.