Mega Code Archive

 
Categories / MSOfficeExcel 2007 Tutorial / Information Functions
 

TYPE(value) returns a number indicating the data type of a value

1 is returned  for numbers. 2 is returned for text. 4 is returned for logical values. 16 is returned for errors. 64 is returned for arrays.