TEXTJOIN Function in Excel: Join Text With a Separator, Skipping Blanks

⏱ 1 min readUpdated 28 September 2026

TextLevel: IntermediateAvailable in: Excel 2019+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Power combo
  6. 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 article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong