=TEXTJOIN(delimiter, ignore_empty, text1, [text2], ...)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
Need more than a single TEXTJOIN formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.
delimiter:
The character or characters that you want to use to separate the text items in the resulting string.
ignore_empty:
A logical value (TRUE or FALSE) that specifies whether to ignore empty cells in the text items. If TRUE, empty cells are ignored; if FALSE, they are included.
text1:
The first text item or range of cells that you want to join together. This is a required parameter.
text2:
An optional additional text item or range of cells to join. You can include multiple text items or ranges by adding more parameters in the same format.
The TEXTJOIN function in Excel is a versatile tool that allows you to concatenate (join together) multiple text strings from a range or a list of values, with a specified delimiter separating each string. This function is particularly useful when you want to combine text from different cells into a single cell while controlling how the text is separated.
In simpler terms, the TEXTJOIN function helps you create a single string from multiple pieces of text, making it easier to present data in a readable format.
Imagine you are compiling a list of attendees for an event, and you have the following data in an Excel spreadsheet:
| Attendee Name | Email Address |
|---|---|
| Alice | alice@example.com |
| Bob | bob@example.com |
| Charlie | charlie@example.com |
| David | david@example.com |
| Eve | eve@example.com |
You want to create a single string that lists all the email addresses, separated by a comma.
To concatenate the email addresses into a single string, you would use the TEXTJOIN formula as follows:
=TEXTJOIN(", ", TRUE, B2:B6)When you apply the formula, it combines the email addresses into a single string. The output would be:
| Combined Email Addresses |
|---|
| alice@example.com, bob@example.com, charlie@example.com, david@example.com, eve@example.com |
Here, all the email addresses are concatenated into one string, separated by commas.
The TEXTJOIN function is particularly useful when you need to combine text from multiple cells into one cell without having to manually type or copy and paste each piece of text. It allows you to create clean and organized text outputs, which can be beneficial for reports, summaries, and data presentation.
Understanding how to use the TEXTJOIN function can significantly enhance your data presentation capabilities in Excel, enabling you to create clear and concise text outputs from your datasets.
Happy joining!
You have a table where Column A contains customer names and Column B contains their corresponding purchased products. You can use the TEXTJOIN function to create a single cell that lists all the products purchased by a specific customer, separated by commas. This allows for easy viewing of customer preferences and helps in tailoring marketing strategies without the need for complex data manipulation.
Beyond the TEXTJOIN function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.
Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.
Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.
Browse our complete library of Excel formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.