TYPE Function

The TYPE function is one of the information functions. It is used to determine the type of the resulting or displayed value.

Syntax

TYPE(value)

The TYPE function has the following argument:

Argument Description
value A value to test. The possible values are listed in the table below.

The value argument can be one of the following:

Value Result
number 1
text 2
logical value 4
error value 16
array 64

Notes

How to apply the TYPE function.

Examples

The figure below displays the result returned by the TYPE function.

TYPE Function