TYPE function - Function that returns the data type of any value in Excel

TYPE function: The function returns the data type of any value. Application of functions in functions depends on the type of value. Syntax: TYPE (value)

The following article introduces you to the TYPE function - one of the functions in the information function group is very popular in Excel.

Picture 1 of TYPE function - Function that returns the data type of any value in Excel

Description: The function returns the data type of any value. Application of functions in functions depends on the type of value.

Syntax: TYPE (value)

Inside:

- value: Any value to determine the data type, is a required parameter, the return value of the function corresponds to the data type as follows:

+ value in numeric form -> function returns value 1.

+ value in text form -> function returns value 2.

+ value is a logical value -> the function returns 4.

+ value are error values ​​-> the function returns 16 value.

+ value in array form -> function returns 64 value.

Attention:

- TYPE function is most useful when combined with functions that use many different data types such as ARGUMENT, INPUT.

- Cannot use TYPE function in determining whether cell contains formula or not.

For example:

Determine the data type of the values ​​described in the following table:

Picture 2 of TYPE function - Function that returns the data type of any value in Excel

- In the cell to calculate enter the formula : = TYPE (C6)

Picture 3 of TYPE function - Function that returns the data type of any value in Excel

- Press Enter -> return value is:

Picture 4 of TYPE function - Function that returns the data type of any value in Excel

- Similarly copying the formula for the remaining values ​​results:

Picture 5 of TYPE function - Function that returns the data type of any value in Excel

- Where value is an error value, for example 6 + abc -> the result is an error value -> the function returns value 16.

Picture 6 of TYPE function - Function that returns the data type of any value in Excel

Above are instructions and some specific examples when using TYPE function in Excel.

Good luck!

Update 19 May 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile