Contact

CONCATENATE Function (OpenOffice Calc)

Text Intermediate OpenOffice Calc

Learn the CONCATENATE function in Apache OpenOffice Calc: Combines several text items into one.

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

Availability and version history

  • Introduced: Documented by Apache OpenOffice 4.1.16; original introduction not established.
  • Availability: Supported in Apache OpenOffice 4.1.16, verified against its function registry. This identifies a supported release, not a final working version.
  • Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
  • Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.

CONCATENATE joins text fragments in the order supplied. It inserts no spaces, hyphens or other separators unless you provide them explicitly. The result is one text string, even when the fragments include digits. Use it for readable labels while keeping the underlying component fields available.

Syntax and arguments

=CONCATENATE(text1; text2; ...)

The versioned help documents up to 30 text arguments. Supply individual literals or scalar references in the intended order; do not assume that a range will be flattened like a modern joining function. The 4.1.16 interpreter obtains each argument as text and concatenates the results. Formatting rules for numbers should be made explicit with TEXT. English function names and semicolon argument separators are used here.

Reproducible examples

Formula Expected result
=CONCATENATE("North";"-";"01") "North-01"
=CONCATENATE("A";"B") "AB"
=CONCATENATE("A";" ";"B") "A B"
=CONCATENATE("";"A") "A"
=CONCATENATE("00";"42") "0042"
=CONCATENATE("A";"";"-") "A-"

The first formula preserves the original guide’s worked example. Its historical comparable LibreOffice 25.2 check was not an OpenOffice test. New results are independently checked reference expectations; no fresh native or GUI test is claimed. Here "" denotes zero-length text.

Practical worksheet: create a label from two retained fields

Enter North, South and West in A2:A4. Enter text 01, 02 and 03 in B2:B4, preserving leading zeros. In C2 enter =CONCATENATE(A2;"-";B2) and fill down. Expected labels are North-01, South-02 and West-03. The hyphen is an explicit literal argument.

If B is numeric 1, 2 and 3 instead, use =CONCATENATE(A2;"-";TEXT(B2;"00")) to express the required two-digit representation. A custom display format on B alone should not be assumed to become part of the concatenated text. Keep A and B separate for filtering or recalculation.

Advanced applications

Use the concatenation operator when clearer. =A2&"-"&B2 expresses the same ordinary scalar joining intention. Choose a consistent style that makes separators visible; a missing quoted separator is a data-format change, not a cosmetic detail.

Handle optional fields deliberately. With A2=North and an empty B2, =A2&IF(B2="";"";"-"&B2) omits the suffix separator. A direct CONCATENATE(A2;"-";B2) would retain the hyphen. A cell containing a space is not the same as empty text. Define the missing-field rule instead of relying on visual blankness.

Avoid ambiguous composite keys. Joining A=AB, B=C without a separator gives ABC, the same output as A=A, B=BC. An explicit delimiter or fixed-width encoding can distinguish those cases, but the delimiter itself must not be ambiguous within component values. A display label is not automatically a safe unique key.

Errors, edge cases and troubleshooting

CONCATENATE does not insert separators or remove extra spaces. Empty text contributes no characters, but the other arguments, including punctuation, remain. A result can look incomplete because a field was blank rather than because joining failed.

The joined result is text, not an arithmetic expression or a number retaining its original numeric type. Avoid converting an identifier such as 0042 to a number merely to join it. Conversely, text such as 1 followed by 2 gives 12, not the numerical sum 3. Use TEXT with an explicit format when a number or date needs a controlled representation.

This function is not TEXTJOIN and has no delimiter or ignore-empty flag. Do not substitute a multi-cell range on the assumption that all its cells will join automatically. Very long strings face application limits; this guide does not certify large-output truncation or every imported array behavior. Validate the component cells and preserve the original fields rather than treating a constructed label as a complete replacement dataset.

Documentation and verification

See the Apache OpenOffice CONCATENATE reference, 4.1.16 text-function help, and versioned interpreter. The official source snapshots were retrieved on October 13, 2026 and re-read for this guide; no new retrieval date is implied. Source inspection and reference calculations do not certify native encoding, locale or extreme-input behavior. First introduction and final functioning version remain unestablished; the lifecycle section identifies documented support.