← All functions

TYPE

Quirk found

Category: Information · Last tested 2026-07-04

Support matrix

EngineDocumentedLive-testedVerdict
Excel Yes Not yet n/a
Google Sheets Yes Not yet n/a
LibreOffice Calc Yes Yes (24.2.7.2, 2026-07-04) Quirk found

Discovered quirks

Executed test cases

LibreOffice Calc 24.2.7.2 (tested 2026-07-04)

FormulaDescriptionResultExpectedVerdict
=TYPE(A1) A number -> code 1 1 1 Matched
=TYPE(A1) Text -> code 2 2 2 Matched
=TYPE(TRUE) A logical/boolean value -> code 4 1 4 Mismatch
=TYPE(1/0) An error value -> code 16. TYPE classifies the error's TYPE rather than propagating the error itself, matching ISERROR-style special-casing 16 16
Full 5-code table (1/2/4/16/64) confirmed via https://support.microsoft.com/en-us/office/type-function-45b4e688-4bc3-48b3-a105-ffa892995899
Matched
=TYPE(A1:A3) A multi-cell array/range reference -> code 64 1 64 Mismatch

Docs & syntax