TX Sheet Control

TYPE Function

Function

Return a number that identifies the type of a value: 1 for a number, 2 for text, 4 for a logical value and 16 for an error. For an array or a range, TX Sheet Control returns an array with the type of each value instead of the single value 64 that Excel returns.

Syntax

TYPE(value)

Category: Information. Minimum arguments: 1. Maximum arguments: 1.

Available for supported offline calculation.

Examples

=TYPE(42)

The formula returns 1, the type of a number.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also