The Formula for the TYPE function is TYPE(value). The Syntax for the TYPE function is - Value: A Microsoft Excel value, for instance, number, text, logical value, and more. It is required. The TYPE function returns numeric codes that represent the types of values, and there are five categories, namely: Number = 1,  Text = 2, Logical value = 4, Error value = 16 and  Array = 64.