Contact

TEXT in Collabora Office: Format Values as Text Without Losing the Numeric Source

Text Intermediate Collabora Office Calc

Use Collabora TEXT for decimal rounding, leading zeros, and formatted labels while respecting locale-specific number codes and preserving source values.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: =TEXT(12.34567;"000.00") returns the text 012.35 in the number-format language shown by the vendor example. TEXT creates a string; it does not merely change the cell’s number format.

Syntax and format-language scope

=TEXT(Value; Format)

Value is required and may be numerical or textual. Format is required text defining the output format. Put a literal format in straight quotation marks or reference a cell containing the format text.

Collabora explicitly says decimal and thousands separators must follow the language set in the cell format. The examples here use the dot-decimal notation shown in its English help. Do not assume the same punctuation means the same thing under every locale or language setting.

When a result must remain a number for later arithmetic, ordinary cell formatting may be preferable. Use TEXT when the desired result is a formatted label, message fragment, or other text output.

Example: optional digits versus leading zeros

Enter 12.34567 in A2. Then compare:

Formula Documented text result
=TEXT(A2;"###.##") 12.35
=TEXT(A2;"000.00") 012.35

The zeros in the second format require visible digit positions. They create a three-digit integer field and two decimal places. The result includes the leading zero; it is not the numeric value 12.35 with a hidden width setting.

For a second independent control, put 7.2 in A3 and use =TEXT(A3;"000.00"). The expected string is 007.20 under the same format language. Its two leading zeros and one trailing zero are part of the text representation.

The first example rounds 12.34567 to two decimal places. It does not truncate the value to 12.34. This guide avoids ambiguous half-way rounding controls and makes no claim about every binary rounding boundary.

Example: wrap existing text with a format

=TEXT("xyz";"=== @ ===")

The vendor gives the text result === xyz ===. In this format, the @ position places the source text between the literal decorations.

This is distinct from applying a numeric mask to a text label. Keep the format appropriate to the source type instead of assuming a numeric-looking string will always be coerced exactly as a number.

Advanced example: build a human-readable amount label

Keep the numeric amount 12.34567 in A2. In B2 enter:

="Amount: "&TEXT(A2;"000.00")

The independent expected label is Amount: 012.35 under the stated format language. The ampersand joins the fixed words and the formatted output. CONCATENATE is a related option for combining text fragments.

Calculate totals from the original numeric A column, not by trying to recover numbers from the label. A label may contain currency words, separators, and padding that another locale interprets differently.

Advanced application: preserve calculation precision separately

Suppose A2 and A3 contain 12.34567 and 7.2. Their independent numeric sum is 19.54567. Formatting that total with =TEXT(SUM(A2:A3);"000.00") gives 019.55 in the example format language.

The individually displayed strings are 012.35 and 007.20. Adding the separately rounded numeric amounts would also give 19.55 in this particular case, but that agreement is not universal. Decide whether your process rounds each line or rounds only the final total.

SUM and ROUND perform different jobs from TEXT: one aggregates numeric values, one returns a rounded numeric value, and TEXT returns a formatted string. Preserve both the numeric result and the presentation field when downstream processing needs both.

Errors, limitations, and troubleshooting

If separators or padding look wrong, check the cell-format language and the exact format text. Straight quotes delimit the format; quotes accidentally stored as part of a referenced format cell can change what is interpreted.

A formatted text result may sort or compare as text rather than as the original number. Padding can make selected positive integer identifiers align visually, but it is not a universal numeric sorting strategy for negatives, decimals, or mixed formats.

The dedicated function page does not list the full custom-format grammar or all invalid-format/native error outcomes. This guide limits its examples to formats directly demonstrated by the vendor and straightforward controls using the same masks. Date-format codes, currency-locale tags, and conditional format sections need their own documented grammar rather than assumptions imported from another product.

Availability and verification

The exact function is documented in Collabora Office 26.04 desktop help, retrieved and reviewed on October 17, 2026. This establishes a documentation scope, not the first release that introduced the function or the last version in which it works; those versions and any retirement date remain unestablished. Collabora Online and mobile support are not inferred from desktop help, nor is behavior in another spreadsheet product.

The examples are documentation-based expectations with independent calculations. They have not been executed in Collabora Office. No application screenshot or native error/coercion certification is implied. Formulas use English function names and semicolon argument separators.

References