=TYPE(value)
=TYPE(A2)
The TYPE function can be used to return the type of the value in a cell. For example, this will return the type of the value in cell A2. In this case, the type is 2, which is the type for text.
=TYPE("Mr. "&A2)
The TYPE function can also be used to return the type of a formula. For example, this will return the type of the formula "Mr. Smith". In this case, the type is still 2, since it is the type for text.
=TYPE(2+A2)
The TYPE function can also be used to return the type of an expression. For example, this will return the type of the expression in cell C6. In this case, the type is 16, which is the type for an error message, like #VALUE!.
The TYPE function is a useful tool for determining the type of data stored in a particular value. It can be used to ensure correct usage of functions that take different types of data.