TEXTJOIN places the delimiter between each non-blank value (when ignore_empty is TRUE) in the supplied ranges. It does not add the delimiter before the first item or after the last item -- only between items. If all cells in the range are blank, TEXTJOIN returns an empty string. If only one cell has a value, no delimiter is added since there is nothing to separate. The delimiter can be any text string: a comma and space ", ", a hyphen "-", a newline character CHAR(10) for line breaks inside a cell, or an empty string "" to join with no separation at all. Multiple ranges are accepted as additional arguments after the first range -- all values from all ranges are pooled together and joined in order. For Excel 2016 and earlier where TEXTJOIN does not exist, the
CONCATENATE function or the & operator with individual cell references is the only alternative. The combine first and last name formula uses CONCATENATE for simple two-field joins -- TEXTJOIN is the better choice whenever a range or more than three fields are involved.