← All functions

TO_TEXT

Unsupported (not recognized)

Category: Parser · Last tested 2026-09-01

Real compatibility results for the TO_TEXT function: executed in Excel for the web, Google Sheets and LibreOffice Calc, measured against Google’s published documentation. Excel does not document TO_TEXT, so this page makes no claim about Excel. Syntax and links to that documentation are below.

Support matrix

EngineDocumentedLive-testedVerdict
Excel (desktop)No n/a (not an Excel function) n/a
Excel for the web— Yes (recalc, 2026-09-01) Unsupported (not recognized)
Google SheetsYes Yes (Drive import, 2026-09-01) Supported, behaves as documented
LibreOffice CalcNo Yes (25.8.7.3, 2026-09-01) Unsupported (not recognized)

LibreOffice version history

We executed the same test cases under each LibreOffice release to show exactly when TO_TEXT’s support changed — not documentation claims, real results.

LibreOffice versionVerdictTested
24.2.0.3 Unsupported (not recognized) 2026-09-01
24.8.7.2 Unsupported (not recognized) 2026-09-01
25.2.0.3 Unsupported (not recognized) 2026-09-01
25.8.7.3 Unsupported (not recognized) 2026-09-01

Why isn't TO_TEXT working in LibreOffice?

LibreOffice Calc does not implement TO_TEXT as of 25.8.7.3 — in our executed tests it returns a #NAME? (unrecognized function) error. This is not a typo or a settings problem, and saving the file as .xlsx does not change it: the function simply isn’t available yet. Watch the LibreOffice version support page — we re-run every test on each new release, so it will flip to Supported here as soon as it lands.

Discovered quirks

Executed test cases

Excel for the web (executed 2026-09-01 via OneDrive recalculation)

These values come from Excel for the web, not from desktop Excel. They are two different implementations of the calculation engine, and this run measured only the web one: the corpus was uploaded to OneDrive as .xlsx, recalculated by Excel for the web on open, and downloaded again for readback. Excel for the web is a rolling service with no pinnable version, so the run is identified by its date. Where a value here disagrees with the Expected column — which is Microsoft’s documentation of the desktop product — we cannot tell you whether the web engine diverges from the desktop one or the documentation is wrong about both, because we do not run desktop Excel.

FormulaDescriptionResultExpectedVerdict
=ISTEXT(TO_TEXT(24)) The page's own Sample Usage input, asserted for its documented result type False True
Provenance

DERIVED, not published: TO_TEXT(24) is printed in Sample Usage with no result. The rule is "If value is a number or a reference to a cell containing a numeric value, TO_TEXT returns value as a string". BATCH PROVENANCE (batch I, group 1 -- the last eight Google-documented functions in the corpus, closing the group A set sheets-lo-only-plan.md opened). This function has x == false in docs/data/compat.json: Microsoft does not document it at all, so this corpus makes NO claim about it in that engine and nothing here is measured against that vendor's documentation. The authority is Google's own support.google.com function page, cited by full URL and by the date it was read (2026-08-31) -- Google publishes no version number for these pages, so a bare URL dates nothing. WHAT GOOGLE PRINTS ON THESE EIGHT PAGES IS LESS THAN IT LOOKS, AND EVERY NOTE SAYS SO. Each page carries a 'Sample Usage' block of FORMULAS WITH NO RESULTS and an 'Examples' section that is a live embedded spreadsheet rather than article text, so ACROSS ALL EIGHT PAGES THERE IS NOT ONE PUBLISHED FORMULA/RESULT PAIR IN THE BODY. Every expected value in this group is therefore DERIVED from the page's own stated semantics and names the sentence it came from; the one exception is UNARY_PERCENT, whose one-line description states its result inline. No value was taken from a search snippet, a blog or a mirror. LIBREOFFICE: probed before execution on all four pinned builds (24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3) in five storage spellings -- plain, _xlfn., COM.MICROSOFT., ORG.OPENOFFICE. and _xlfn.ORG.OPENOFFICE. -- and #NAME? under every one of them on every build, so the expected values below describe Google Sheets and the LibreOffice column records absence. (A separate check confirms the absence is real rather than a name-mapping artefact: round-tripping these eight names through LibreOffice's own formula parser and its .xlsx export writes them back lower-cased -- 'to_date', 'uminus' -- which is what LibreOffice does with an identifier it does not recognise as a function at all.) Google's TO_TEXT page, read live on 2026-08-31 at https://support.google.com/docs/answer/3094285. WHAT THIS CASE LOOKS LIKE IN AN ENGINE THAT LACKS THE FUNCTION, SAID HERE SO THE ROW IS NOT MISREAD. The assertion is wrapped in an IS* predicate, and a predicate does not propagate #NAME? -- it answers it. On all four LibreOffice builds, where this function does not exist, the case therefore returns a plain FALSE rather than the #NAME? its unwrapped siblings return. That FALSE is a correct answer to the question the predicate asks and a misleading one about the engine, so it is recorded as a mismatch and the function's LibreOffice verdict is carried by the unwrapped cases in the same file, which do return #NAME?. (Batch H hit the same masking trap from the other side, where COUNTA(QUERY(...)) counted an error cell as one value and returned a plausible 1.)

Mismatch
=TO_TEXT(24) The same sample, asserted as the string it must produce for an unformatted number #NAME? 24
Provenance

DERIVED from "returns value as a string, with existing formatting retained". The page's own sample argument carries no format, so the retained formatting is none and the string is the bare digits. This is the weakest reading of the sentence that is still a testable claim: no assertion is made about how a FORMATTED number renders, because the page describes that only qualitatively (see the next case). Google's TO_TEXT page, read live on 2026-08-31 at https://support.google.com/docs/answer/3094285.

Mismatch
=RIGHT(TO_TEXT(TO_PERCENT(0.5)),1) The documented retention of a percentage format, asserted only as far as the page goes #NAME? %
Provenance

DERIVED from "Currencies appear as currencies, decimals as decimals, percentages as percentages, and dates as dates." THE PAGE NEVER STATES A DIGIT COUNT OR A FORMAT PATTERN, so no full string is asserted here -- "50%", "50.00%" and "50.0%" are all consistent with what it says. What the sentence does license is that the result still reads as a percentage, and the last character is the smallest observable form of that claim. Google's TO_TEXT page, read live on 2026-08-31 at https://support.google.com/docs/answer/3094285.

Mismatch
=TO_TEXT("abc") The documented pass-through for a non-numeric argument #NAME? abc
Provenance

DERIVED from "If value is not a number or a reference to a cell containing a numeric value, TO_TEXT returns value without modification." Note this makes the function idempotent on text, which is the only reading under which the Notes bullet "TO_TEXT is equivalent to prefixing a number with an apostrophe (')" does not double up its own apostrophe. Google's TO_TEXT page, read live on 2026-08-31 at https://support.google.com/docs/answer/3094285.

Mismatch

Google Sheets (executed 2026-09-01 via Drive import)

Google Sheets is a rolling service with no pinnable version, so this run is identified by its date. The corpus was imported to Drive as .xlsx, recalculated by Sheets, and exported back for readback.

FormulaDescriptionResultExpectedVerdict
=ISTEXT(TO_TEXT(24)) The page's own Sample Usage input, asserted for its documented result type True True
Provenance

DERIVED, not published: TO_TEXT(24) is printed in Sample Usage with no result. The rule is "If value is a number or a reference to a cell containing a numeric value, TO_TEXT returns value as a string". BATCH PROVENANCE (batch I, group 1 -- the last eight Google-documented functions in the corpus, closing the group A set sheets-lo-only-plan.md opened). This function has x == false in docs/data/compat.json: Microsoft does not document it at all, so this corpus makes NO claim about it in that engine and nothing here is measured against that vendor's documentation. The authority is Google's own support.google.com function page, cited by full URL and by the date it was read (2026-08-31) -- Google publishes no version number for these pages, so a bare URL dates nothing. WHAT GOOGLE PRINTS ON THESE EIGHT PAGES IS LESS THAN IT LOOKS, AND EVERY NOTE SAYS SO. Each page carries a 'Sample Usage' block of FORMULAS WITH NO RESULTS and an 'Examples' section that is a live embedded spreadsheet rather than article text, so ACROSS ALL EIGHT PAGES THERE IS NOT ONE PUBLISHED FORMULA/RESULT PAIR IN THE BODY. Every expected value in this group is therefore DERIVED from the page's own stated semantics and names the sentence it came from; the one exception is UNARY_PERCENT, whose one-line description states its result inline. No value was taken from a search snippet, a blog or a mirror. LIBREOFFICE: probed before execution on all four pinned builds (24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3) in five storage spellings -- plain, _xlfn., COM.MICROSOFT., ORG.OPENOFFICE. and _xlfn.ORG.OPENOFFICE. -- and #NAME? under every one of them on every build, so the expected values below describe Google Sheets and the LibreOffice column records absence. (A separate check confirms the absence is real rather than a name-mapping artefact: round-tripping these eight names through LibreOffice's own formula parser and its .xlsx export writes them back lower-cased -- 'to_date', 'uminus' -- which is what LibreOffice does with an identifier it does not recognise as a function at all.) Google's TO_TEXT page, read live on 2026-08-31 at https://support.google.com/docs/answer/3094285. WHAT THIS CASE LOOKS LIKE IN AN ENGINE THAT LACKS THE FUNCTION, SAID HERE SO THE ROW IS NOT MISREAD. The assertion is wrapped in an IS* predicate, and a predicate does not propagate #NAME? -- it answers it. On all four LibreOffice builds, where this function does not exist, the case therefore returns a plain FALSE rather than the #NAME? its unwrapped siblings return. That FALSE is a correct answer to the question the predicate asks and a misleading one about the engine, so it is recorded as a mismatch and the function's LibreOffice verdict is carried by the unwrapped cases in the same file, which do return #NAME?. (Batch H hit the same masking trap from the other side, where COUNTA(QUERY(...)) counted an error cell as one value and returned a plausible 1.)

Matched
=TO_TEXT(24) The same sample, asserted as the string it must produce for an unformatted number 24 24
Provenance

DERIVED from "returns value as a string, with existing formatting retained". The page's own sample argument carries no format, so the retained formatting is none and the string is the bare digits. This is the weakest reading of the sentence that is still a testable claim: no assertion is made about how a FORMATTED number renders, because the page describes that only qualitatively (see the next case). Google's TO_TEXT page, read live on 2026-08-31 at https://support.google.com/docs/answer/3094285.

Matched
=RIGHT(TO_TEXT(TO_PERCENT(0.5)),1) The documented retention of a percentage format, asserted only as far as the page goes % %
Provenance

DERIVED from "Currencies appear as currencies, decimals as decimals, percentages as percentages, and dates as dates." THE PAGE NEVER STATES A DIGIT COUNT OR A FORMAT PATTERN, so no full string is asserted here -- "50%", "50.00%" and "50.0%" are all consistent with what it says. What the sentence does license is that the result still reads as a percentage, and the last character is the smallest observable form of that claim. Google's TO_TEXT page, read live on 2026-08-31 at https://support.google.com/docs/answer/3094285.

Matched
=TO_TEXT("abc") The documented pass-through for a non-numeric argument abc abc
Provenance

DERIVED from "If value is not a number or a reference to a cell containing a numeric value, TO_TEXT returns value without modification." Note this makes the function idempotent on text, which is the only reading under which the Notes bullet "TO_TEXT is equivalent to prefixing a number with an apostrophe (')" does not double up its own apostrophe. Google's TO_TEXT page, read live on 2026-08-31 at https://support.google.com/docs/answer/3094285.

Matched

LibreOffice Calc 25.8.7.3 (tested 2026-09-01)

FormulaDescriptionResultExpectedVerdict
=ISTEXT(TO_TEXT(24)) The page's own Sample Usage input, asserted for its documented result type False True
Provenance

DERIVED, not published: TO_TEXT(24) is printed in Sample Usage with no result. The rule is "If value is a number or a reference to a cell containing a numeric value, TO_TEXT returns value as a string". BATCH PROVENANCE (batch I, group 1 -- the last eight Google-documented functions in the corpus, closing the group A set sheets-lo-only-plan.md opened). This function has x == false in docs/data/compat.json: Microsoft does not document it at all, so this corpus makes NO claim about it in that engine and nothing here is measured against that vendor's documentation. The authority is Google's own support.google.com function page, cited by full URL and by the date it was read (2026-08-31) -- Google publishes no version number for these pages, so a bare URL dates nothing. WHAT GOOGLE PRINTS ON THESE EIGHT PAGES IS LESS THAN IT LOOKS, AND EVERY NOTE SAYS SO. Each page carries a 'Sample Usage' block of FORMULAS WITH NO RESULTS and an 'Examples' section that is a live embedded spreadsheet rather than article text, so ACROSS ALL EIGHT PAGES THERE IS NOT ONE PUBLISHED FORMULA/RESULT PAIR IN THE BODY. Every expected value in this group is therefore DERIVED from the page's own stated semantics and names the sentence it came from; the one exception is UNARY_PERCENT, whose one-line description states its result inline. No value was taken from a search snippet, a blog or a mirror. LIBREOFFICE: probed before execution on all four pinned builds (24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3) in five storage spellings -- plain, _xlfn., COM.MICROSOFT., ORG.OPENOFFICE. and _xlfn.ORG.OPENOFFICE. -- and #NAME? under every one of them on every build, so the expected values below describe Google Sheets and the LibreOffice column records absence. (A separate check confirms the absence is real rather than a name-mapping artefact: round-tripping these eight names through LibreOffice's own formula parser and its .xlsx export writes them back lower-cased -- 'to_date', 'uminus' -- which is what LibreOffice does with an identifier it does not recognise as a function at all.) Google's TO_TEXT page, read live on 2026-08-31 at https://support.google.com/docs/answer/3094285. WHAT THIS CASE LOOKS LIKE IN AN ENGINE THAT LACKS THE FUNCTION, SAID HERE SO THE ROW IS NOT MISREAD. The assertion is wrapped in an IS* predicate, and a predicate does not propagate #NAME? -- it answers it. On all four LibreOffice builds, where this function does not exist, the case therefore returns a plain FALSE rather than the #NAME? its unwrapped siblings return. That FALSE is a correct answer to the question the predicate asks and a misleading one about the engine, so it is recorded as a mismatch and the function's LibreOffice verdict is carried by the unwrapped cases in the same file, which do return #NAME?. (Batch H hit the same masking trap from the other side, where COUNTA(QUERY(...)) counted an error cell as one value and returned a plausible 1.)

Mismatch
=TO_TEXT(24) The same sample, asserted as the string it must produce for an unformatted number #NAME? 24
Provenance

DERIVED from "returns value as a string, with existing formatting retained". The page's own sample argument carries no format, so the retained formatting is none and the string is the bare digits. This is the weakest reading of the sentence that is still a testable claim: no assertion is made about how a FORMATTED number renders, because the page describes that only qualitatively (see the next case). Google's TO_TEXT page, read live on 2026-08-31 at https://support.google.com/docs/answer/3094285.

Mismatch
=RIGHT(TO_TEXT(TO_PERCENT(0.5)),1) The documented retention of a percentage format, asserted only as far as the page goes #NAME? %
Provenance

DERIVED from "Currencies appear as currencies, decimals as decimals, percentages as percentages, and dates as dates." THE PAGE NEVER STATES A DIGIT COUNT OR A FORMAT PATTERN, so no full string is asserted here -- "50%", "50.00%" and "50.0%" are all consistent with what it says. What the sentence does license is that the result still reads as a percentage, and the last character is the smallest observable form of that claim. Google's TO_TEXT page, read live on 2026-08-31 at https://support.google.com/docs/answer/3094285.

Mismatch
=TO_TEXT("abc") The documented pass-through for a non-numeric argument #NAME? abc
Provenance

DERIVED from "If value is not a number or a reference to a cell containing a numeric value, TO_TEXT returns value without modification." Note this makes the function idempotent on text, which is the only reading under which the Notes bullet "TO_TEXT is equivalent to prefixing a number with an apostrophe (')" does not double up its own apostrophe. Google's TO_TEXT page, read live on 2026-08-31 at https://support.google.com/docs/answer/3094285.

Mismatch

Docs & syntax

Where TO_TEXT behaves differently