Use Excel VLOOKUP to Populate a Table from a Data List in WPS Office
Question details
The user needs to build a formula-driven table that selects a rider, retrieves related list data, and applies cumulative values subject to a maximum rally value.

- Product
- WPS Office Spreadsheets
- Device & OS
- not provided
- Scenario
- The user is creating a data-entry or tracking workbook and wants a rider selection to drive related table values and cumulative calculations.
- Observed behavior
- A formula-driven table should retrieve related rider data and respect the maximum rally value; VLOOKUP alone may not handle all lookup and cumulative conditions.
Make sure your source data list has a unique identifier for each rider and consistent column headers. If rally limits or cumulative values are stored separately, identify the sheet and exact ranges before writing formulas.
Use a rider drop-down with XLOOKUP or INDEX/MATCH to populate the table
Use this when the return columns may move, the rider list is not the leftmost column, or you need a robust exact-match lookup.
WPS Spreadsheets supports Excel-compatible lookup formulas. A drop-down list keeps the rider reference consistent, and formulas read that cell to return related list data automatically.
Select the cell that will hold the rider selection, go to Data > Data Validation, set Allow to List, and select the rider names range from your data list sheet.
In the first table cell type =XLOOKUP($B$2,rider_list,return_range,"Not found") and press Enter. Replace $B$2 with your drop-down cell and return_range with the column to retrieve.
Copy the formula to the remaining columns and adjust the return_range for each column you want to populate.
Change the rider in the drop-down and confirm the table retrieves the correct rider values.

Use VLOOKUP for a simple left-to-right lookup
Use this when the rider lookup value is in the leftmost column of the data list and the value you want is to its right.
Apply cumulative values with a maximum rally limit using SUMIFS and MIN
Use this when the table must add cumulative values from the data list but stop at a maximum rally value.
Populate a Table from a Data List with WPS Spreadsheets
Use WPS Spreadsheets to set up a rider drop-down, retrieve related list data with XLOOKUP, VLOOKUP, or INDEX/MATCH, and cap cumulative values with a maximum rally limit.
- 1. Open the workbook in WPS Spreadsheets: Launch WPS Office, click Menu > Open, and select the .xlsx workbook that contains your data list and table.
- 2. Create the rider drop-down: Select the rider cell, click Data > Data Validation, choose List, and set the source to the rider names in your data list.
- 3. Populate the table with a lookup formula: Use =XLOOKUP($B$2,rider_list,return_range,"Not found") or a VLOOKUP/INDEX MATCH formula that references the drop-down cell.
- 4. Apply the maximum rally limit: Cap cumulative values with =MIN(SUMIFS(cumulative_range,rider_range,$B$2),max_rally_cell) and adjust the ranges to your sheet.

Frequently Asked Questions
Can VLOOKUP retrieve data if the rider column is not the first column?
No. VLOOKUP can only search the first column of a range and return values to the right. Use INDEX/MATCH or XLOOKUP when the rider list is not the leftmost column.
How do I add a rider drop-down in WPS Spreadsheets?
Select the cell, go to Data > Data Validation, set Allow to List, and choose the rider names range as the source.
Why does my VLOOKUP return #N/A?
Usually the lookup value is not an exact match or has extra spaces. Set the last argument to FALSE and check that the rider text matches exactly.
How do I cap cumulative values at a maximum rally value?
Wrap the cumulative formula in MIN, for example =MIN(SUMIFS(H3:H24,rider_range,B2),max_rally_cell).
Does WPS Spreadsheets support XLOOKUP and INDEX/MATCH?
Yes. Current versions support XLOOKUP, and INDEX/MATCH is available as a compatible alternative for Excel files.




