Arguments
delimiter- The separator placed between items, e.g. ", ".ignore_empty- TRUE to skip empty cells, FALSE to keep them.text1- The first text item or range to join.
Joins text from multiple cells or a range with a delimiter, optionally skipping blanks.
Syntax
=TEXTJOIN(delimiter, ignore_empty, text1, [text2], …)delimiter - The separator placed between items, e.g. ", ".ignore_empty - TRUE to skip empty cells, FALSE to keep them.text1 - The first text item or range to join.=TEXTJOIN(", ", TRUE, A2:A10)Returns: A comma-separated list of the non-blank values
Great for turning a column into one cell.
Yes. TEXTJOIN uses the same syntax in Google Sheets and LibreOffice Calc, so you can paste these formulas straight across.
Fill in your ranges and copy a ready-to-paste formula - no signup.