IS

This section describes the nine functions used for testing the type of a value or column reference.

Each of these functions, referred to collectively as the IS functions, checks the type of value and returns TRUE or FALSE depending on the outcome. For example, the ISBLANK function returns the logical value TRUE if value is a column reference that is empty; otherwise it returns FALSE.

Syntax

ISBLANK(value)
ISERR(value)
ISERROR(value)
ISLOGICAL(value)
ISNA(value)
ISNONTEXT(value)
ISNULL(value)
ISNUMBER(value)
ISTEXT(value)

Value   is the value you want tested. Value can be a blank, an error, logical, text, number, or column reference.

FunctionReturns TRUE if
ISBLANKValue refers to an empty column reference.
ISERRValue refers to any error value except #N/A.
ISERRORValue refers to any error value (#N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!).
ISLOGICALValue refers to a logical value.
ISNAValue refers to the #N/A (value not available) error value.
ISNONTEXTValue refers to any item that is not text. (Note that this function returns TRUE if value refers to a blank column reference.)
ISNULLValue refers to the #NULL! value.
ISNUMBERValue refers to a number.
ISTEXTValue refers to text.

Remarks

Example 1

Formula Description (Result)
=ISLOGICAL(TRUE) Checks whether TRUE is a logical value (TRUE)
=ISLOGICAL("TRUE") Checks whether "TRUE" is a logical value (FALSE)
=ISNUMBER(4) Checks whether 4 is a number (TRUE)

Example 2

Col1Formula Description (Result)
Gold=ISBLANK([Col1]) Checks whether the value in Col1 is blank (FALSE)
#REF!=ISERROR([Col1]) Checks whether #the value in Col1 is an error (TRUE)
#REF!=ISNA([Col1]) Checks whether the value in Col1 is the #N/A error (FALSE)
#N/A=ISNA([Col1]) Checks whether the value in Col1is the #N/A error (TRUE)
#N/A=ISERR([Col1]) Checks whether the value in Col1 is an error (FALSE)
#NULL!=ISNULL([Col1])Checks whether the value in Col 1 is #NULL! (Yes)
330.92=ISNUMBER([Col1]) Checks whether the value in Col1 is a number (TRUE)
Region1=ISTEXT([Col1]) Checks whether the value in Col1 is text (TRUE)