Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
TYPE returns a numeric code that identifies what kind of value a cell or expression contains, using the codes 1 (number), 2 (text), 4 (logical/Boolean), 8 (formula), 16 (error), and 64 (array). Use it when you need to branch logic based on the category of data rather than just its content.
=TYPE(A2)=TYPE(A2)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need a version for your data?
Try: “Detect whether each cell contains a number, text, or error and label it”
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: