Excel TEXTJOIN function
Joins texts or whole ranges with the separator you choose. In Spanish Excel it is called UNIRCADENAS.
Syntax
English Excel
=TEXTJOIN(delimiter, ignore_empty, text1, [text2], …)
Spanish Excel (Mexico)
=UNIRCADENAS(delimitador, ignorar_vacías, texto1, [texto2], …)
Spanish Excel (Spain, Latin America)
=UNIRCADENAS(delimitador; ignorar_vacías; texto1; [texto2]; …)
| Argument | What it is |
|---|---|
| delimiter | The separator, such as ", ". |
| ignore_empty | TRUE to skip blank cells. |
| text1 | The first text or range. |
| text2optional | More texts or ranges. |
Example
TEXTJOIN(delimiter, ignore_empty, range) joins a whole range with the delimiter you choose, such as ", ". With TRUE it skips blank cells.
=TEXTJOIN(", ",TRUE,A2:A8)
Common mistake
Available since Excel 2019. Older versions need & cell by cell.
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.
Ads help us keep WebHerramientas free for everyone
Practice TEXTJOIN
Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons
TEXTJOIN
TEXTJOIN(delimiter, ignore_empty, range) joins a whole range with the delimiter you choose, such as ", ". With TRUE it skips blank cells.
In C2, join the names separated by a comma and a space, without gaps for the blank cells.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Attendees | List for the email | ||
| 2 | Ana | |||
| 3 | Luis | |||
| 4 | ||||
| 5 | Sofía | |||
| 6 | Diego | |||
| 7 | ||||
| 8 | Valeria | |||
| 9 |
Tip: while typing, click a cell or drag across several to insert their reference.
Frequently asked questions
- What is TEXTJOIN called in Spanish?
- In Spanish Excel it is UNIRCADENAS. The formula =TEXTJOIN(", ",TRUE,A2:A8) is written =UNIRCADENAS(", ";VERDADERO;A2:A8) (or with commas in Mexico).
- Why does TEXTJOIN use semicolons in some Excel versions?
- It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
- What is the most common TEXTJOIN mistake?
- Available since Excel 2019. Older versions need & cell by cell.