CONCATENATE vs TEXTJOIN

CONCATENATE glues texts one by one; TEXTJOIN joins a whole range with a delimiter and can skip blanks.

CONCATENATETEXTJOIN
Takes rangesNo, cell by cellYes
DelimiterYou type it between every partGiven once
Skip blanksNoYes, with TRUE

Syntax and example

CONCATENATE

=CONCATENATE(text1, [text2], …)

=CONCATENATE(B2,", ",A2)

Joins several texts into one, like the & operator.

TEXTJOIN

=TEXTJOIN(delimiter, ignore_empty, text1, [text2], …)

=TEXTJOIN(", ",TRUE,A2:A8)

Joins texts or whole ranges with the separator you choose.

Which one to use?

For two or three cells, CONCATENATE or the & operator. For lists, TEXTJOIN.

About Ads

This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.

Advertising
Loading ad...

Ads help us keep WebHerramientas free for everyone

Practice it

Solve the exercise on the sheet; it is checked instantly. See all lessons · Formula translator

TEXTJOIN

TEXTJOIN(delimiter, ignore_empty, range) joins a whole range with the delimiter you choose, such as ", ". With TRUE it skips blank cells.

Example=TEXTJOIN(", ",TRUE,A2:A8)UNIRCADENAS = TEXTJOIN

In C2, join the names separated by a comma and a space, without gaps for the blank cells.

C2
ABCD
1AttendeesList for the email
2Ana
3Luis
4
5Sofía
6Diego
7
8Valeria
9

Tip: while typing, click a cell or drag across several to insert their reference. F4 anchors the reference with $.

Frequently asked questions

What is the difference between CONCATENATE and TEXTJOIN?
CONCATENATE glues texts one by one; TEXTJOIN joins a whole range with a delimiter and can skip blanks.
When should I use CONCATENATE or TEXTJOIN?
For two or three cells, CONCATENATE or the & operator. For lists, TEXTJOIN.