Texteasy
TEXTJOIN()
Combines text with a delimiter, optionally skipping empty cells.
Syntax
fx
=TEXTJOIN(delimiter, ignore_empty, text1, ...)
Try it
F2
→
Q1, Q2, Q3, Q4
Sample data · sales.csv
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Company | Region | Quarter | Revenue |
| 2 | Acme Co | West | Q1 | 18,400 |
| 3 | Acme Co | West | Q2 | 22,100 |
| 4 | Acme Co | West | Q3 | 31,700 |
| 5 | Acme Co | West | Q4 | 48,200 |
| 6 | Globex | East | Q1 | 14,200 |
| 7 | Globex | East | Q2 | 19,800 |
| 8 | Globex | East | Q3 | 23,400 |
Common pitfalls
- The 2nd arg
ignore_emptymatters: with TRUE, the delimiter is NOT inserted between empty cells, avoiding double-delimiters like"a, , b". - Concatenates very long ranges into one cell: Sheets caps cells at 50,000 characters; large inputs may silently truncate.
- Outputs as a string;
TEXTJOIN(",", TRUE, 1, 2, 3) + 0won't coerce back to numbers.
Related formulas
Used by