EXCEL TYPE FUNCTION

The kind of value in a cell is represented by a numeric code returned by this function. When the action of another function is dependent on the type of value in a certain cell, use TYPE.

Syntax:

=TYPE (value)

Parameter list:

  • value – the value for which the type should be checked.

Step By Step Guide of TYPE Function

  • If the value is a number, TYPE returns 1,
  • if it is a text, it returns 2,
  • if it is a logical value, it returns 4,
  • and if it is an error value, it returns 16.
  • Array TYPE returns 64 if the value is Array.
  • When utilizing methods like ARGUMENT and INPUT that take many types of data, TYPE comes in handy. To determine what type of data a function or formula returns, use TYPE.
  • You can’t use TYPE to check if a cell has a formula in it. Only the type of the resultant, or displayed, value is determined by TYPE.
  • TYPE returns the type of the formula’s resultant value if value is a cell reference to a cell that contains a formula.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now