Returns an integer representing the data type of a value.
Questa funzione funziona in Google Sheets esattamente come in Excel — stessa sintassi e stessi argomenti.
TYPE(value)The TYPE function identifies the data type of a given value. It returns 1 for numbers, 2 for text, 4 for logical values, 16 for error values, and 64 for arrays.
=TYPE(100)Risultato: 1
Returns 1 because 100 is a number.
=TYPE("Hello")Risultato: 2
Returns 2 because "Hello" is a text string.
A result of 16 indicates that the value provided is an error value, such as #N/A or #VALUE!.