How to use TEXTJOIN in Excel
Learn how Excel TEXTJOIN combines text across cells and ranges with a delimiter, with a worked example and a link to hands-on practice.
Syntax
fx=TEXTJOIN(delimiter, ignore_empty, text1, [text2], …)
Arguments
delimiter(required)The character or string to place between each text item, enclosed in double quotes (such as ", " or "-").
ignore_empty(required)Set to TRUE to skip empty cells, or FALSE to include them and retain extra delimiters.
text1(required)The first text item, cell reference, or range to merge.
text2(optional)Additional text items, cell references, or ranges to include in the combined result.
What TEXTJOIN does
TEXTJOIN merges text from multiple cells or ranges into a single string. You provide a delimiter—such as a comma or space—and Excel inserts it between each value. You can also tell it to skip empty cells automatically.
A small example
Here is a list of workshop sessions and speakers. The formula in the blank result cell joins all speaker names into one comma-separated list.
| Session | Speaker |
| Morning | Alex |
| Keynote | Priya |
| Closing | Elena |
| All Speakers |
Formula: =TEXTJOIN(", ", TRUE, B2:B4) → Alex, Priya, Elena
Skip blank cells
Set ignore_empty to TRUE to ignore blank cells in your range. If you set it to FALSE, Excel includes those empty cells, leaving repeated delimiters such as Alex, , Elena.
Common mistake: delimiter without quotes
Always enclose text delimiters in quotation marks, such as "-". Typing =TEXTJOIN(-, TRUE, B2:B4) won't be accepted: Excel shows a formula error message and the formula is never entered. Also keep the argument order in mind: delimiter first, then ignore_empty, then your text range.