TYPE
Identify the type of a value using Excel’s numeric type codes.
Syntax
=TYPE(value)Worked example
Retrieve Excel’s type code for a logical value.
=TYPE(TRUE)Result 4
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceThe Excel TYPE Function
Practice TYPE
Retrieve Excel’s type code for a logical value.
| A | B | |
|---|---|---|
| 1 | ||
| 2 |
Show example formula
=TYPE(B2) Lesson quiz
Answer three questions to see your level in this lesson.
