ISLOGICAL
Other Data Type Functions

Basic Description

The Excel Islogical function tests if a supplied value (or expression) evaluates to a logical (ie. evaluates to True or False). If so, the function returns TRUE; Otherwise, it returns FALSE.

The syntax of the function is:

ISLOGICAL( value )

Where the supplied 'value' argument is either a simple value, a value returned from a formula, or a reference to a cell containing a value.

 

Islogical Function Examples

The spreadsheets below show several examples of the Excel Islogical function. The spreadsheet on the left shows the formulas used, and the spreadsheet on the right shows the results:

 Formulas:
 AB
1 =ISLOGICAL( TRUE )  
2 =ISLOGICAL( FALSE )  
3 =ISLOGICAL( B1=B2 )  
4 =ISLOGICAL( 20/5 )  
5 =ISLOGICAL( B5 ) text
6 =ISLOGICAL( B6 ) FALSE
 Results:
 AB
1 TRUE  
2 TRUE  
3 TRUE  
4 FALSE  
5 FALSE text
6 TRUE FALSE

Note that the Islogical function in cell A3 would still return TRUE, even if cells B1 and B2 were not equal, as the Islogical function it is simply testing if the expression 'B1=B2' evaluates to a logical value.

Excelq.com doing business as a Service of Venttraffic Media Inc. Excel and other words on this site may be trademarks or registered trademarks of Microsoft Corporation. Microsoft Corporation is not connected in any way with this website, and makes no endorsement of the site or its related contents. All rights reserved. Website powered by Venttraffic Media Inc.