Formulas > =TYPE()

How to Use TYPE() in Google Sheets

Description

Returns a number associated with the type of data passed into the function.

How To Actually Use TYPE() in Sheets

TYPE(value)

Try TYPE yourself

In cell B1, use the TYPE() formula to determine the data type of the value in cell A1. The result should return a number corresponding to the type of data in A1.

Hints (2)

Looking for a video tutorial? Members can email me anytime! Check out the blogs below for more info on this formula. Or generate your formula. Find more formulas here at BetterSheets.co/formulas

Transcript-matched member videos for TYPE(). Click through to watch.

Watch more tutorials
Hardest Formula: SumIF | Addition Based on Dates / Values

Hardest Formula: SumIF | Addition Based on Dates / Values

Demystifying the SumIF Formula. Add up your values based on a condition,...
Write Apps Script to Create a New Google Sheets Formula

Write Apps Script to Create a New Google Sheets Formula

Create a brand new custom formula in Apps Script. We'll do this for our ...
Embed a Number in a Website from a Google Sheet

Embed a Number in a Website from a Google Sheet

Ever wanted to display some data from a google sheet on your site? Witho...
Calculate ROAS in Google Sheets

Calculate ROAS in Google Sheets

Calculate Return on Ad Spend with a formula combination. Bonus: create a...

Learn more about the TYPE() formula:

Generate a TYPE() formula for your needs

Describe your task in plain English and get a paste-ready formula that uses TYPE(). 2 free AI generations, no signup. Members get unlimited use.

Generate a TYPE() formula