Function Problems

Use Structured References to Find Table Values by Name or Region in WPS Office Spreadsheets

Khadija KhanKhadija Khan Nov 13, 2026 869 views

Question details

The user needs to retrieve a specific sales value by person and calculate regional averages using Excel Table structured references in WPS Office Spreadsheets instead of fixed cell addresses.

Use Structured References to Find Table Values by Name or Region in WPS Office Spreadsheets
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
The user has a sales table named Table1 with Sales Person, Sales Amount, and Region columns and wants to look up Dan's sales and average sales for regions beginning with East.
Observed behavior
The formulas should remain reliable when table rows are sorted or inserted, without relying on fixed cell references.
Before you start

Make sure your data is formatted as a WPS Spreadsheets table and named Table1, or replace Table1 in the formulas below with your actual table name.

Solution 1Recommended

Retrieve values by name and region with XLOOKUP and FILTER structured references

Use this formula-based method to return a person's sales amount and average a region group dynamically.

Structured references use the table name and column header instead of A1-style ranges, so the formulas adjust automatically when rows are added, removed, or sorted.

The FILTER function is combined with LEFT to match regions that begin with “East” and return only matching sales amounts to AVERAGE.

1
Select the result cell for Dan's sales amount

Click an empty cell and enter =XLOOKUP("Dan",Table1[Sales Person],Table1[Sales Amount],"Not found") to return Dan's sales amount.

2
Enter the regional average formula

Click another empty cell and enter =AVERAGE(FILTER(Table1[Sales Amount],LEFT(Table1[Region],4)="East",0)) to average sales for regions beginning with East.

Retrieve values by name and region with XLOOKUP and FILTER structured references
Formulas stay accurate: Because these formulas use structured references, WPS Spreadsheets updates the ranges automatically after sorting or inserting table rows.
WPS Spreadsheets formula guide

Use structured references to find table values by name or region in WPS Office Spreadsheets

Use WPS Office Spreadsheets to enter XLOOKUP and FILTER formulas with Excel Table structured references, so sales lookups and regional averages update automatically without adjusting fixed cell addresses.

  1. 1. Open your workbook in WPS Office Spreadsheets: Launch WPS Office, open the .xlsx workbook that contains your sales table, and click inside the table.
  2. 2. Confirm the table name and headers: Select the table, go to the Table Tools tab, and verify the table is named Table1 with column headers Sales Person, Sales Amount, and Region.
  3. 3. Enter the lookup formula: Click an empty cell and type =XLOOKUP("Dan",Table1[Sales Person],Table1[Sales Amount],"Not found") to return Dan's sales amount.
  4. 4. Enter the regional average formula: Click another empty cell and type =AVERAGE(FILTER(Table1[Sales Amount],LEFT(Table1[Region],4)="East",0)) to average East region sales.
  5. 5. Sort or add rows to confirm: Add or sort table rows and confirm the structured references recalculate automatically.
Look up sales values by person and region with dynamic structured-reference formulas.Maintains full compatibility with Microsoft Excel .xlsx tables and functions.Free, lightweight Office suite with a familiar spreadsheet interface.PivotTable support for fast additional summaries.
microsoft office alternative - wps office

Frequently Asked Questions

What formula returns Dan's sales amount from a named table in WPS Spreadsheets?

Use =XLOOKUP("Dan",Table1[Sales Person],Table1[Sales Amount],"Not found"). If your table has a different name, replace Table1 with the actual table name.

How do I calculate the average sales for regions beginning with East?

Use =AVERAGE(FILTER(Table1[Sales Amount],LEFT(Table1[Region],4)="East",0)). This filters to region names starting with East and averages the matching sales amounts.

Do structured references still work after sorting or inserting rows?

Yes. Structured references refer to the entire table column, so WPS Spreadsheets adjusts the formula range automatically when rows are sorted, added, or deleted.

Can I use a PivotTable instead of formulas to summarize sales by region?

Yes. Click inside the table, go to Insert > PivotTable, then drag Region to Rows and Sales Amount to Values to create a regional summary without formulas.

Do I need to rename my table to Table1 for these formulas to work?

No. Table1 is only an example. Replace Table1 in the formulas with the name shown on the Table Tools tab for your WPS Spreadsheets table.