Function Problems

WPS Spreadsheet: Look Up an Alias from a Two-Column Excel Table

Jason MillerJason Miller Nov 12, 2026 869 views

Question details

The user needs to match a value against one column of a two-column table and return the corresponding alias from the other column.

How to Look Up an Alias from a Two-Column Excel Table in WPS Spreadsheet
Product
WPS Spreadsheet
Device & OS
not provided
Scenario
Values to match are in column E, lookup values are in column B, and aliases are stored in column A. The result should be populated in column F.
Observed behavior
The alias needs to be returned for each value in column E, with a fallback message when no matching lookup value exists.
Before you start

Confirm that the lookup values in column B and the aliases in column A are aligned row by row. Check the first data row and adjust the formula ranges to cover the complete table before filling the formula down.

Solution 1Recommended

Use XLOOKUP to return the matching alias

Use this method in current WPS Spreadsheet versions for a clear lookup formula with a custom not-found result.

1
Select the result cell

Open the worksheet and select cell F2, or the first cell where the alias should appear.

2
Enter the XLOOKUP formula

In the formula bar, enter =XLOOKUP(E2,$B$2:$B$4,$A$2:$A$4,"Not found") and press Enter. The formula searches for E2 in column B and returns the corresponding value from column A.

3
Fill the formula down

Select F2 and drag the fill handle down, or copy F2 and paste it into the remaining cells in column F. The relative reference E2 updates for each row, while the lookup ranges remain fixed.

Expand the lookup ranges: Replace $B$2:$B$4 and $A$2:$A$4 with ranges that include every row in your actual lookup table.
WPS Spreadsheet solution

Find Matching Aliases with XLOOKUP or INDEX/MATCH in WPS Spreadsheet

WPS Spreadsheet lets you build the alias lookup directly with XLOOKUP or INDEX/MATCH, copy the formula down, and work with familiar Excel-compatible worksheets.

  1. 1. Open the workbook: Launch WPS Office, choose Spreadsheet, and open the workbook containing the two-column lookup table.
  2. 2. Select the output cell: Click F2, or the first cell in the output column where the alias should be displayed.
  3. 3. Enter the lookup formula: Type =XLOOKUP(E2,$B$2:$B$4,$A$2:$A$4,"Not found") in the formula bar and press Enter.
  4. 4. Fill results down: Copy F2 or drag its fill handle down the output column to populate an alias for each value in column E.
Quickly match column E values to lookup values in column B and return aliases from column ASupports XLOOKUP and the INDEX/MATCH fallback for flexible formula-based lookupsWorks with Microsoft Excel XLSX and XLS files for easy file sharing and migrationProvides a familiar spreadsheet interface with formula editing and fill-down tools
microsoft office alternative - wps office

Frequently Asked Questions

Which cell should contain the alias lookup formula?

Enter the formula in F2 if the value to match starts in E2 and the output belongs in column F. Change the starting cell if your worksheet uses different columns or rows.

How do I change the lookup table range?

Replace $B$2:$B$4 with the full range containing the lookup values and replace $A$2:$A$4 with the corresponding alias range. Both ranges must contain the same number of rows.

What should I use if XLOOKUP is not available?

Use =IFERROR(INDEX($A$2:$A$4,MATCH(E2,$B$2:$B$4,0)),"Not found"). This combines INDEX and exact-match MATCH to return the alias.

Why does the formula show Not found even when the value appears in the table?

The values may contain extra spaces, different capitalization, or different data types such as text versus numbers. Compare the source values and clean or standardize them before looking them up.