TEXTJOIN(delimiter, ignore_empty, text1, [text2], …)
=TEXTJOIN(" ",TRUE,A1:A3)
The TEXTJOIN function can be used to join multiple cells into a single string. This will return the string "Hello, World" as it joins the contents of cells A1, A2, and A3 with a space between each cell.
=TEXTJOIN(" ",1,E3,B3:D3)
The TEXTJOIN function can also accept a range of cells that includes multiple columns.This will join the contents of cell E3, with the contents of cells B3, C3, and D3, separated by a comma and space.
=TEXTJOIN("",TRUE,A1,A2)
The TEXTJOIN function can be used to join multiple cells into a single string with no separator. This will return the string "HelloWorld" as it joins the contents of cells A1 and A2 with no space between them.
=TEXTJOIN("-",TRUE,A1,A2)
The TEXTJOIN function can also be used to join multiple cells into a single string with a specified separator. This will return the string "Hello-World" as it joins the contents of cells A1 and A2 with a hyphen between them.
The TEXTJOIN function is a useful tool that enables users to combine text from multiple sources with an optional delimiter. It is available on Windows and Mac with Office 2019 or Microsoft 365.