Formula Errors

How to Fix the #NAME? Error in Excel TEXTJOIN Formulas

Phi Hung VoPhi Hung Vo Oct 23, 2026 873 views

Question details

The user needs to resolve a #NAME? error occurring in a formula that combines TEXTJOIN and IF functions.

How to Fix the #NAME? Error in Excel TEXTJOIN Formulas
Product
Microsoft Excel
Device & OS
not provided
Scenario
Combining data using TEXTJOIN and IF formulas on a frequently refreshed worksheet without losing performance.
Observed behavior
The formula returns a #NAME? error, and full-column array calculations cause severe slowness or unreliability in large data sets.
Before you start

Ensure your version of Excel supports the TEXTJOIN function, which is available in Office 365, Excel 2019, and newer versions. If you are using an older version, the function will not be recognized, instantly resulting in a #NAME? error.

Solution 1Recommended

Limit Data Ranges and Use Structured Tables

Instead of using full-column references (like A:A) which can cause errors and slow down performance, convert your data to a dynamically expanding structured table.

Full-column array formulas force the spreadsheet to calculate over a million rows, leading to severe performance drops or errors, especially on frequently updated worksheets. A structured table resolves this by dynamically matching the exact data size.

1
Format data as a Table

Select any cell within your data range and press Ctrl + T on your keyboard. Ensure 'My table has headers' is checked, and click OK.

2
Update the TEXTJOIN formula

Click the cell containing your formula and update the range references to use table columns (e.g., Table1[Column A]) instead of full columns (e.g., A:A).

3
Apply the calculation

Press Enter to execute the formula. As new rows are added during hourly data refreshes, the table and the formula range will automatically expand.

Limit Data Ranges and Use Structured Tables
Performance Boost: By limiting the calculation to the exact number of populated rows, your spreadsheet will refresh faster and avoid timeout errors.

Use WPS Spreadsheet to Seamlessly Manage TEXTJOIN Formulas

WPS Spreadsheet fully supports advanced text functions like TEXTJOIN and dynamic arrays. You can easily combine text from multiple ranges and manage frequently refreshed data with optimal performance.

  1. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your .xlsx workbook containing the problematic formula.
  2. 2. Enter the TEXTJOIN formula: Select the target cell, type =TEXTJOIN(, specify your delimiter, set the ignore_empty rule to TRUE or FALSE, and highlight your text ranges.
  3. 3. Optimize the data range: Select your exact data boundaries rather than full columns (like A1:A5000 instead of A:A) to ensure optimal calculation speed, then press Enter.
Fully compatible with Microsoft Excel formulas and .xlsx file formats.Built-in support for advanced functions like TEXTJOIN, IFS, and XLOOKUP.Lightweight architecture handles large data sets and dynamic ranges efficiently.Free to use with a familiar, easy-to-navigate tabbed interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does TEXTJOIN return a #NAME? error in older versions of Excel?

The TEXTJOIN function was introduced in Excel 2019 and Office 365. If you open a workbook containing this formula in Excel 2016 or earlier, the application will not recognize the function name, instantly resulting in a #NAME? error.

Can I use entire columns like A:A in a TEXTJOIN formula?

While it is technically possible, using entire columns in array-like formulas forces the application to evaluate over a million rows. This can cause severe performance drops, workbook freezing, or unexpected errors. It is highly recommended to use exact ranges or structured tables instead.

How do I make my formula include new rows if I don't use full columns?

Convert your data into an Excel Table by selecting the data and pressing Ctrl + T. When you reference a Table column in your formula (e.g., Table1[ContactName]), the range will dynamically expand to include any new rows added during data refreshes.

Does WPS Office support the TEXTJOIN function?

Yes, WPS Spreadsheet fully supports the TEXTJOIN function. You can seamlessly open, edit, and save workbooks utilizing this formula without experiencing compatibility issues.