LibreOffice 24.8 Help
Concatenates one or more strings, and uses delimiters between them.
TEXTJOIN( delimiter, skip_empty, String 1[; String 2][; âĻ ;[String 253]] )
delimiter is a text string and can be a range.
skip_empty is a logical argument. When set to FALSE or 0, empty strings will be taken into account and this may lead to adjacent delimiters in the returned string. When set to any other value (e.g. TRUE or 1), empty strings will be ignored.
String 1[; String 2][; âĻ ;[String 253]] are strings, references to cells or to cell ranges of strings.
Ranges are traversed row by row (from top to bottom).
If delimiter is a range, the range need not be of the same size as the number of strings to be joined.
If there are more delimiters than strings to be joined, not all delimiters will be used.
If there are less delimiters than strings to be joined, the delimiters will be used again from the start.
=TEXTJOIN(" "; 1; "Here"; "comes"; "the"; "sun") returns "Here comes the sun" with space character as delimiter and empty strings are ignored.
if A1:B2 contains "Here", "comes", "the", "sun" respectively, =TEXTJOIN("-";1;A1:B2) returns "Here-comes-the-sun" with dash character as delimiter and empty strings are ignored.
COM.MICROSOFT.TEXTJOIN