The Excel ISTEXT Function

Function Description

The Excel Istext function tests if a supplied value is text, and if so, returns TRUE; Otherwise, the function returns FALSE.

The syntax of the function is:

ISTEXT( value )

Where the supplied value argument is the value or expression to be tested.


Istext Function Examples

The following spreadsheet shows examples of the Excel Istext function:

 Formulas:
  A B
1 =ISTEXT( TRUE )  
2 =ISTEXT( "Peter" )  
3 =ISTEXT( 10/2 )  
4 =ISTEXT( B4 ) #VALUE!
5 =ISTEXT( B5 ) Peter
6 =ISTEXT( B6 )  
 Results:
  A B
1 FALSE  
2 TRUE  
3 FALSE  
4 FALSE #VALUE!
5 TRUE Peter
6 FALSE  

For further details and examples of the Excel 'Is' functions, see the Microsoft Office website.