Use TEXTJOIN in Excel to combine cells with a delimiter

Quick guide to using Excel's TEXTJOIN function to merge cell contents with a chosen delimiter, optionally skipping empty cells. Includes examples and troubleshooting tips.

What the video covers

Show how to build and use a basic TEXTJOIN formula to combine text from multiple cells (rows or columns) with a chosen delimiter and optional ignoring of empty cells.

Watch the video on YouTube

Step-by-step instructions

  1. Open Excel and prepare your data
    Have the cells you want to combine filled (they can be in a row or a column). Identify the cell where you want the combined result.
  2. Start the TEXTJOIN formula
    In the chosen result cell, type =TEXTJOIN( to begin the formula.
  3. Enter the delimiter
    Type the delimiter in quotation marks as the first argument — for example "," for comma, " " for space, or "-" for a dash.
  4. Set whether to ignore empty cells
    Add a comma and enter TRUE to skip empty cells or FALSE to include them (which can produce consecutive delimiters for empty entries).
  5. Select the range to join
    Add a comma and select the range of cells you want to join (for example A2:A10 or B2:E2). Close the parentheses and press Enter.
  6. Verify and reuse the formula
    Confirm the result shows combined text separated by your delimiter with no extra delimiters for skipped empties. Drag the fill handle to copy the formula to adjacent cells if needed.

Watch the video

Video thumbnail for Use TEXTJOIN in Excel to combine cells with a delimiter Play tutorial

Watch on YouTube

Why it matters

TEXTJOIN makes it easy to merge text from many cells into one cell, using any delimiter (comma, space, dash, etc.). It’s cleaner and more flexible than concatenating many cells manually, and can skip empty cells.

Check your result

After entering the formula, the target cell should show the combined text with the chosen delimiter between items and no extra delimiters where cells were empty. Dragging the fill handle should copy the formula for other rows or columns as expected.

Troubleshooting

– If you see literal quotation marks or an error, ensure the delimiter is enclosed in straight quotes (e.g. ", "; or " "). – If empty cells produce extra delimiters, make sure the ignore-empty argument is TRUE. – If the formula returns a #NAME? error, confirm TEXTJOIN is available in your Excel version (it requires a modern Excel build). – If only one cell appears, check the selected range in the formula and ensure it contains the expected cells.