SheetRocks
Documentation/Formulas/TEXTJOIN

TEXTJOIN

Returns the combination of two or more one-dimensional arrays with or without a delimiter.

Syntax

TEXTJOIN(delimeter, ignore_empty, value1, [value_n])

Arguments

Argument Description Required
delimeter The character or string to place between the concatenated values. Required
ignore_empty Used to decide whether to empty cells or not. Required
value1 The value or values to be appended using delimeter. Required
value_n Additional value or values to be appended. Optional

Examples

Join text with comma delimiter

=TEXTJOIN(", ", true, A1:A3)
Result ⇒ Apple, Banana, Cherry
A
1 Apple
2 Banana
3 Cherry

Join text with dash ignoring empty

=TEXTJOIN("-", true, A1:A4)
Result ⇒ Red--Blue-Green
A
1 Red
2
3 Blue
4 Green

Join individual text values

=TEXTJOIN(" | ", false, "First", "Second", "Third")
Result ⇒ First | Second | Third

Related Functions

Other Text functions:


← Back to Formula Reference