Formula Errors

Fix Excel Structured Table References That Change to #NAME? After Reopening

Adam DavisAdam Davis Nov 12, 2026 868 views

Question details

The user needs to repair an Excel table formula that works during editing but changes to a #NAME? error after the workbook is closed and reopened.

Fix Excel Structured Table References That Change to #NAME? After Reopening
Product
Microsoft Excel
Device & OS
not provided
Scenario
A workbook contains formulas using structured table references, such as TableName[ColumnName], and must retain those formulas after saving and reopening.
Observed behavior
After reopening the workbook, Excel displays #NAME? in formulas that previously used valid structured table references, indicating that a table name, column name, or related defined name was not preserved correctly.
Before you start

Open the workbook in the desktop version of Excel and check the file extension before making changes. Structured table references require an Excel workbook format such as .xlsx or .xlsm; CSV files cannot retain tables or formulas.

Solution 1Recommended

Verify the Excel table and column names used by the structured reference

Use this method when the table may still exist but the formula returns #NAME? because its table name or header text no longer matches the formula.

Structured references depend on the exact table name and column header names. A renamed table, edited header, extra space, or changed special character can cause an otherwise valid formula to return #NAME?.

1
Select a cell in the affected table

Click any cell inside the source table so that the Table Design tab appears on the Excel ribbon.

2
Check the table name

Open Table Design and review the Table Name box in the Properties group. Confirm that it matches the name used in the formula, such as SalesData in =SUM(SalesData[Amount]).

3
Confirm the column headers

Review the table header row and verify that each referenced column name exactly matches the text inside brackets in the formula, including spaces and punctuation.

4
Re-enter the formula

Click the error cell, press F2, and retype or select the table and column reference from the worksheet. Press Enter and save the workbook.

Verify the Excel table and column names used by the structured reference
Use exact table names: If the table name or a header was changed, updating the formula with the current names should remove the #NAME? error.
Free Microsoft Office alternative

Work with Excel Table Formulas in WPS Spreadsheets

If Microsoft Excel continues to reopen a workbook with broken structured references, try WPS Office as a free, lightweight Office alternative. WPS Spreadsheets provides a familiar spreadsheet workspace, supports common Excel workbook formats, and helps you move existing files into an easy-to-use editing environment.

  1. 1. Install WPS Office: Download and install WPS Office, then open WPS Spreadsheets from the app home screen.
  2. 2. Open the Excel workbook: Select Open and choose the affected .xlsx or .xlsm workbook from your computer or connected storage.
  3. 3. Review formulas and table data: Select the affected worksheet cells and verify the table headers, ranges, and formula references in the formula bar.
Open and edit spreadsheet formulas in a familiar Excel-style interface.Supports Microsoft Excel .xlsx and .xlsm workbook formats for smoother file migration.Use tables, cell ranges, and lookup formulas for organized spreadsheet calculations.Free and lightweight Office suite for everyday workbook editing.
microsoft office alternative - wps office

Frequently Asked Questions

Why does an Excel structured reference show #NAME? after reopening a file?

The table name or column header may have changed, the table may no longer exist, or the file may have been saved in a format such as CSV that does not preserve tables and formulas. Check Table Design > Table Name and the table headers first.

Can a CSV file retain Excel table names and structured references?

No. CSV stores plain text values and does not retain Excel table objects, formulas, defined names, or formatting. Save the working workbook as File > Save As > Excel Workbook (*.xlsx) instead.

Where can I find the table name in Excel?

Click any cell inside the table, then open the Table Design tab. The current name appears in the Table Name box in the Properties group.

How do I fix a broken defined name in Excel?

Go to Formulas > Name Manager, select the name with a #REF! entry in Refers to, and click Edit to point it to the correct range. Delete the name if it is obsolete.

What can I use if structured references keep failing in a workbook?

Recreate the range as a table through Insert > Table, then update the formula with the new table name. Alternatively, replace the structured reference with normal cell ranges or an INDEX/MATCH formula.