TEXTJOIN Function in Excel
Master TEXTJOIN to combine text from multiple cells with custom delimiters. Merge data, skip blanks, and create lists in Excel 2019+ and Sheets.




=TEXTJOIN(delimiter, ignore_empty, text1, [text2], ...)
Practical Examples
Create Email List from Customer Names
Combine customer emails into a comma-separated list for mass mailing
Merge First and Last Names with Middle Initials
Create full names from separate name components
Build Product SKU from Components
Generate complete SKU codes from category, model, and variant data
Dynamic Address Builder
Construct complete mailing addresses from database fields
Survey Response Aggregation
Combine multiple checkbox responses into a single cell
Common Errors and Solutions
Excel doesn't recognize the TEXTJOIN function
TEXTJOIN is not available in Excel versions before 2019. The function doesn't exist in Excel 2016, 2013, or earlier versions.
1. Upgrade to Excel 2019, Excel 365, or use Google Sheets 2. Use alternative formulas like CONCATENATE or CONCAT 3. Create a custom VBA function to replicate TEXTJOIN functionality 4. Use Power Query to join text values
Check your Excel version before using TEXTJOIN. Go to File > Account to see your Office version.
Example:
TEXTJOIN returns a VALUE error
The delimiter parameter is missing, invalid, or the result exceeds Excel's 32,767 character limit for a single cell.
1. Ensure the delimiter is in quotes: TEXTJOIN(",", TRUE, ...) 2. Check if your combined text exceeds 32,767 characters 3. Verify all parameters are in the correct order 4. Split large datasets into smaller chunks
Always enclose text delimiters in quotes and monitor the length of combined text
Example:
Spill error when using TEXTJOIN with dynamic arrays
In Excel 365, TEXTJOIN might conflict with dynamic array formulas, or there's data blocking the spill range.
1. Clear cells below the formula to allow spilling 2. Use @ operator to prevent spilling: =@TEXTJOIN(...) 3. Convert dynamic arrays to static values first 4. Ensure no merged cells are in the spill area
Keep the area below dynamic formulas clear or use the @ operator when spilling is not desired
Example:
Some text values are not included in the result
The ignore_empty parameter is set to TRUE and cells contain spaces or formulas returning empty strings.
1. Use FALSE for ignore_empty if you need all positions 2. Clean data with TRIM to remove spaces 3. Check if cells contain formulas returning "" 4. Use ISBLANK to verify truly empty cells
Understand the difference between empty cells and cells with spaces or zero-length strings
Example:
Best Practices and Advanced Techniques
Combine TEXTJOIN with dynamic functions like FILTER, UNIQUE, or SORT for powerful data manipulation. For example, create a list of unique values: =TEXTJOIN(", ", TRUE, UNIQUE(A:A))
For large datasets (>10,000 cells), limit range references instead of using entire columns. Use A2:A10000 instead of A:A to improve calculation speed by up to 10x.
Remember that Excel cells can only contain 32,767 characters. When joining large amounts of text, monitor the total length to avoid truncation. Consider splitting into multiple cells if needed.
TEXTJOIN works identically in Excel 2019+, Excel 365, and Google Sheets. However, some combined functions like FILTER may have platform-specific syntax differences.
Always wrap TEXTJOIN in IFERROR when working with dynamic data sources to handle potential errors gracefully, especially when combining with other functions.
Need Help with TEXTJOIN Function in Excel?
Stop struggling with formula syntax. Use AskFormulas to generate validated formulas instantly with our AI-powered tool.
Example Excel formula:
Related Formulas
Master CONCATENATE to join text in Excel and Google Sheets. Learn syntax, examples, errors, and modern alternatives like CONCAT and TEXTJOIN.

Master the FILTER function to dynamically extract data meeting specific criteria. Learn syntax, examples, and error solutions for Excel 365 and Sheets.

The UNIQUE function returns unique values from a range or array, eliminating duplicates automatically. Perfect for creating distinct lists from data.

Extract text from the beginning of strings with the LEFT function. Learn syntax, examples, and error solutions for Excel and Google Sheets.
