excel functions

MS Excel: TYPE Function (WS)

This Excel tutorial explains how to use the Excel TYPE function with syntax and examples.


The Microsoft Excel TYPE function returns the type of a value.


The syntax for the TYPE function in Microsoft Excel is:

TYPE( value )

Parameters or Arguments


It can be text, numbers, logical values (TRUE or FALSE), arrays, or errors.

Value Returned
Number 1
Text 2
Logical value (ie: TRUE or FALSE) 4
Error value 16
Array 64

Applies To

The TYPE function can be used in the following versions of Microsoft Excel:

  • Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Excel Function

The TYPE function can be used in Microsoft Excel as the following type of function:

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel TYPE function examples and explore how to use the TYPE function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the Excel spreadsheet above, the following TYPE examples would return:

Result: 16

Result: 2

Result: 1

Result: 2

Result: 1