New: ready-to-use spreadsheet templatesExplore the collection  →
Home/Formulas/TEXTJOIN
TEXT · GOOGLE SHEETS

TEXTJOIN
join text with a separator and optionally ignore blanks.

Use TEXTJOIN to combine a list with commas. This guide shows the exact structure, a working example and the mistakes most likely to break it.

JosephineVerified by JosephineReviewed July 25, 2026
THE FORMULA=TEXTJOIN(delimiter, ignore_empty, text1, [text2, …])
A

delimiterseparator between values

B

ignore_emptywhether to skip blanks

C

textvalues or ranges to join

TRY IT YOURSELF

Change the sheet.
Watch the answer update.

Edit any highlighted cell below. The example recalculates immediately.

LIVE PLAYGROUND=TEXTJOIN(", ",TRUE,A2:A5)
fx=TEXTJOIN(", ",TRUE,A2:A5)
A · TEXT
2
3
4
5
RESULTAda Lovelace3Red, Blue, Green3INV-2026-1043north regionUpdates live

Try changing a value above. This example runs entirely in your browser.

IN PLAIN ENGLISH

How the formula
thinks.

  1. 01

    delimiterseparator between values

  2. 02

    ignore_emptywhether to skip blanks

  3. 03

    textvalues or ranges to join

COMMON FIXES

When TEXTJOIN
doesn’t behave.

WRONG RESULT

Wrong result

Check that every range starts and ends on the same rows, and that numbers are stored as numbers.

FORMULA PARSE ERROR

Formula parse error

Check commas, quotation marks and closing parentheses. Your locale may use semicolons instead of commas.

UNEXPECTED BLANKS

Unexpected blanks

Test the source cells for hidden spaces, empty strings and inconsistent data types.

fxNeed help with TEXTJOIN?Fix my formula →