
TextLevel: IntermediateAvailable in: Excel 2019+
In this article
- Syntax
- Examples
- Example 1
- Example 2
- Power combo
- Related functions
TEXTJOIN joins a range of text with a delimiter and can ignore empty cells.
Syntax
=TEXTJOIN(delimiter, ignore_empty, text1, [text2], ...)
| Argument |
What it means |
delimiter |
Separator, e.g. “, “. |
ignore_empty |
TRUE to skip blanks. |
text1… |
Cells or ranges. |
Examples
Example 1
=TEXTJOIN(", ", TRUE, A2:A10)
Comma-separated list of names.
Example 2
=TEXTJOIN(" ", TRUE, B2, C2, D2)
Address lines into one cell, no double spaces for blanks.
Power combo
=TEXTJOIN(", ", TRUE, FILTER(B2:B500, A2:A500=F2, ""))
All matching values in one cell (Excel 365).
CONCAT · FILTER · TEXTSPLIT
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong