TYPE Function

Return the type of a given value

Over 1.8 million professionals use CFI to learn accounting, financial analysis, modeling and more. Start with a free account to explore 20+ always-free courses and hundreds of finance templates and cheat sheets.

What is the TYPE Function?

The TYPE Function[1] is categorized under Excel Information functions. It will return the type of a given value. The function will return a numeric code representing the type of value.

As a financial analyst, we use many Excel functions in our financial analysis. The TYPE function is useful when the behavior of another function depends on the type of value in a particular cell. If we are using functions that accept different types of data, TYPE can be used to find out what type of data is returned by a function or formula.



Value is a required argument. It is the value to check the type of. So, it can be any MS Excel value, such as a number, text, logical value, etc.

TYPE Function

How to use the TYPE Function in Excel?

The TYPE Function was introduced in Excel 2007 and is available in all subsequent Excel versions. To understand the uses of the function, let us consider an example:

Example 1

Let’s see how the function will behave when we give the following formula:

TYPE - Example 1

We get the results below:

TYPE Function

A few things to remember about the TYPE Function

  1. When we test value from a cell with a formula, the TYPE function will test the value returned by that formula.
  2. If we refer to a cell that is blank, the function will return the number 1 as result.
  3. If we refer to a cell that contains a date, it will return 1 as a result.

Click here to download the sample Excel file

Additional Resources

Thanks for reading CFI’s guide to important Excel functions! By taking the time to learn and master these functions, you’ll significantly speed up your valuation modeling. To learn more, check out these additional CFI resources:

Article Sources

  1. TYPE Function
0 search results for ‘