CONCAT
Concatenates multiple values into one text string.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=CONCAT(text1, [text2], ...)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
text1 | any (range) | Required | — |
text2 | any (range) | Optional | — |
Accepts a variable number of arguments. Minimum: 1.
Return type
Can return text.
Remarks
- Accepts one or more arguments.
- Ranges and arrays are flattened in row-major order.
- Blank values contribute an empty string.
- Numbers and booleans are coerced to text.
- Errors are propagated as soon as encountered.
Error cases
- Results longer than 32,767 characters return
#VALUE!.
Examples
Join region and year labels with an explicit separator.
Formula =CONCAT("East"," ","2024")
Expected result East 2024
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Combine text and numeric values in argument order.
Formula =CONCAT("Team ",42," score ",8)
Expected result Team 42 score 8
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A single argument is already the entire concatenated result.
Formula =CONCAT("Only item")
Expected result Only item
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A division-by-zero error among the inputs propagates.
Formula =CONCAT("East",1/0)
Expected result #DIV/0!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Join text pieces
Formula =CONCAT("Q", 1, "-", "2026")
Expected result Q1-2026
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Concatenate with blanks
Formula =CONCAT("A", "", "B")
Expected result AB
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
Do blank arguments add separators or characters?
No. CONCAT appends each value directly, and blanks contribute an empty string.