Formula Errors

Fix #VALUE! When Referencing Another Excel Table Column in WPS Office

Ayan MasoodAyan Masood Nov 13, 2026 869 views

Question details

The user needs to resolve #VALUE! errors caused by Excel structured references such as Table1[@Link] that depend on worksheet row position, and retrieve corresponding table records reliably.

Fix #VALUE! When Referencing Another Excel Table Column in WPS Office
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
The user is writing a formula in one Excel table that references a column in another table and expects the corresponding record, not the same worksheet row.
Observed behavior
The formula returns #VALUE! or returns the value from the same worksheet row instead of the corresponding relative table row, especially after sorting or filtering.
Before you start

Open the workbook in WPS Office Spreadsheets and verify that both ranges are formatted as Excel tables with visible header rows. Check whether your current formula uses the @ structured reference and note the starting row of each table.

Solution 1Recommended

Use INDEX to retrieve the corresponding table row instead of the same worksheet row

Best when both tables are laid out in parallel and you need a value based on relative row position from the table header.

The @ symbol in =Table1[@Link] means implicit intersection, so it returns the value from Table1[Link] at the same current worksheet row. If the second table starts in a different row, this produces the wrong record or a #VALUE! error.

The INDEX formula below calculates the relative row inside Table2 and retrieves the corresponding row from Table1.

1
Select the result cell

Click the first cell in the column where you want the corresponding value.

2
Enter the INDEX formula

Type =LET(v,INDEX(Table1[Desc],ROW()-ROW(Table2[#Headers])),IF(v="","",v)) in the formula bar, replacing Table1[Desc] and Table2[#Headers] with your actual table and column names.

3
Confirm and fill down

Press Enter, then use the fill handle to copy the formula down the table column.

Use INDEX to retrieve the corresponding table row instead of the same worksheet row
Formula tip: This removes the same-row implicit intersection and matches values by relative table row.

Fix #VALUE! Table Reference Errors in WPS Office Spreadsheets

Correct the #VALUE! error directly in WPS Office Spreadsheets by replacing same-row @ structured references with INDEX or XLOOKUP. WPS Office supports Excel tables, .xlsx workbooks, and the functions used in the fix, so the workbook remains fully compatible.

  1. 1. Open the workbook: Start WPS Office Spreadsheets and open the .xlsx file that contains the #VALUE! error.
  2. 2. Locate the faulty formula: Click the cell showing #VALUE! and review the formula in the formula bar.
  3. 3. Replace the structured reference: Enter the INDEX or XLOOKUP formula described in the solution above using your actual table and column names.
  4. 4. Confirm and save: Press Enter, fill the formula down if needed, and save the workbook to keep the corrected version.
Built-in support for INDEX, LET, and XLOOKUP to resolve table reference errors.Opens and saves .xlsx Excel workbooks without converting or breaking table formatting.Free, lightweight Office suite with a familiar spreadsheet interface.No need to repair Microsoft Office; fix formulas directly in WPS Office Spreadsheets.
microsoft office alternative - wps office

Frequently Asked Questions

Why does =Table1[@Link] not return the corresponding record from the other table?

Because the @ symbol uses implicit intersection and returns the value from the same worksheet row. If the other table starts in a different row, the rows do not align.

How do I reference a column in another table by relative table row?

Use INDEX with ROW()-ROW(Table2[#Headers]), for example =LET(v,INDEX(Table1[Desc],ROW()-ROW(Table2[#Headers])),IF(v="","",v)).

What is the safest formula when my table can be sorted or filtered?

Use a lookup key with XLOOKUP, such as =XLOOKUP([@Key],Table1[Key],Table1[Link],"").

Can WPS Office work with Excel tables, structured references, and XLOOKUP?

Yes. WPS Office Spreadsheets supports .xlsx Excel tables, structured references, INDEX, LET, and XLOOKUP functions.