Function Problems

Excel Lookup Formula to Return a Score for Each Selection in WPS Office

Chanuka GeekiyanageChanuka Geekiyanage Nov 13, 2026 868 views

Question details

The user needs an Excel lookup formula in WPS Office to map a selection value from 1 to 5 to a corresponding score and display the result automatically in another cell.

Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
A user is building a scoring or evaluation sheet and wants a chosen numeric value to retrieve a predefined score.
Observed behavior
The score cell should automatically display the corresponding score after the 1–5 selection is made or changed.
Before you start

Open your WPS Office spreadsheet and decide which cell will hold the choice, for example B3, and which cell will show the score, for example B4. Create or locate a two-column lookup range where column 1 contains choices 1–5 and column 2 contains the corresponding scores.

Solution 1Recommended

Use XLOOKUP to return a matching score automatically

Best for WPS Office and newer Excel-compatible versions; it directly returns the score for the selected choice without needing the score column to be to the right.

XLOOKUP searches the choice column and returns the value from the same row in the score column. The IFERROR wrapper shows a blank cell instead of an error when no valid selection exists.

1
Select the result cell

Click the cell where the score should appear, such as B4.

2
Enter the XLOOKUP formula

Type =IFERROR(XLOOKUP(B3,$E$2:$E$6,$F$2:$F$6,""),"") and press Enter.

3
Verify the returned score

Enter a value from 1 to 5 in B3 and confirm that B4 updates to the corresponding score.

Blank result on invalid selections: The formula returns an empty string instead of #N/A when B3 is empty or does not match the choice column.

Return a Score Automatically with WPS Office Spreadsheets

WPS Office Spreadsheets supports XLOOKUP and VLOOKUP, so you can create a scoring sheet that updates automatically and remains compatible with Excel files.

  1. 1. Open WPS Office Spreadsheets: Launch WPS Office and create or open a workbook in Spreadsheets.
  2. 2. Create the lookup table: In E2:E6 enter 1, 2, 3, 4, 5 and in F2:F6 enter the matching scores.
  3. 3. Enter the lookup formula: Click the score cell and enter =IFERROR(XLOOKUP(B3,$E$2:$E$6,$F$2:$F$6,""),"") or the VLOOKUP version.
  4. 4. Press Enter and test: Select a value in B3 to confirm the score cell updates automatically.
Free spreadsheet tools with XLOOKUP and VLOOKUP supportOpens and saves .xlsx and .xls Excel files without conversionFamiliar Excel-like ribbon and formula behaviorData validation dropdowns make score selection easy
microsoft office alternative - wps office

Frequently Asked Questions

Why does XLOOKUP return #NAME? in WPS Office?

This usually means the XLOOKUP function is not available in your WPS Office version. Update WPS Office to the latest version or use the VLOOKUP formula: =IFERROR(VLOOKUP(B3,$E$2:$F$6,2,FALSE),"").

Can I put the lookup table on another sheet?

Yes. Reference the sheet name in the formula, for example =IFERROR(XLOOKUP(B3,Sheet2!$E$2:$E$6,Sheet2!$F$2:$F$6,""),"").

How do I show a blank instead of #N/A when the selection is empty?

Wrap the lookup in IFERROR and set the empty string as the value, for example =IFERROR(XLOOKUP(B3,$E$2:$E$6,$F$2:$F$6,""),"").

How do I add a dropdown list for the 1–5 selection?

Select the choice cell, go to Data > Data Validation, choose List, set Source to =$E$2:$E$6, and click OK.

Does VLOOKUP work the same in WPS Office as Excel?

Yes, WPS Office Spreadsheets supports VLOOKUP with the same arguments: lookup value, table range, column index, and FALSE for exact match.