TEXTJOIN Function
The TEXTJOIN function is one of the text and data functions. Is used to combine the text from multiple ranges and/or strings, and includes a delimiter you specify between each text value that will be combined; if the delimiter is an empty text string, this function will effectively concatenate the ranges. This function is similar to the CONCAT function, but the difference is that the CONCAT function cannot accept a delimiter.
The TEXTJOIN function syntax is:
TEXTJOIN(delimiter, ignore_empty, text1 [, text2], …)
where
delimiter is the delimiter to be inserted between the text values. Can be specified as a text string enclosed by double quotes (e.g. "," (comma), " " (space), "\" (backslash) etc.) or as a reference to a cell or range of cells.
ignore_empty is a logical value that specifies whether empty cells should be ignored. When the value is set to TRUE, empty cells are ignored.
text1(2) is up to 252 data values. Each value can be a text string or a reference to a range of cells.
To apply the TEXTJOIN function,
- select the cell where you wish to display the result,
- click the Insert function icon situated at the top toolbar,
or right-click within a selected cell and select the Insert Function option from the menu,
or click the icon situated at the formula bar, - select the Text and data function group from the list,
- click the TEXTJOIN function,
- enter the required arguments separating them by commas,
- press the Enter button.
The result will be displayed in the selected cell.