Function Problems

How to Use INDEX MATCH to Return Values from a Lookup Table in WPS Office Excel

Algirdas JasaitisAlgirdas Jasaitis Nov 13, 2026 870 views

Question details

The user wants to replace VLOOKUP with INDEX and MATCH to retrieve corresponding values from a lookup table in WPS Office Excel.

How to Use INDEX MATCH to Return Values from a Lookup Table in WPS Office Excel
Product
WPS Office Excel / WPS Spreadsheets
Device & OS
not provided
Scenario
The user has a lookup table and needs to return corresponding values from a column based on a lookup value.
Observed behavior
VLOOKUP is not flexible enough for the user's lookup, so the goal is to use INDEX and MATCH for exact column and row matching.
Before you start

Open your WPS Office spreadsheet and identify the lookup column and the column from which you want to return values. In the example formula, the lookup value is in column B, the lookup column is column H, and the return column is column I.

Solution 1Recommended

Return values with INDEX MATCH and fill the formula across rows and columns

Use this method when you need a flexible lookup that returns values from any column and copies across a range without rewriting the formula.

The formula combines INDEX to select the return column and MATCH to find the row position of the lookup value. Using 0 in MATCH forces an exact match, and locking the lookup column with $ lets you fill the formula right without losing the correct lookup column.

1
Select the result cell

Click cell C3 in your WPS Office Excel worksheet, where the first returned value should appear.

2
Enter the INDEX MATCH formula

Type =INDEX(I:I,MATCH($B3,$H:$H,0)) into cell C3 and press Enter.

3
Fill the formula right

Use the fill handle to drag cell C3 to the right to column D so the return column moves from I to J.

4
Fill the formula down

Select C3:D3 and drag the fill handle down through the remaining rows to return each matching value.

Return values with INDEX MATCH and fill the formula across rows and columns
Formula filled successfully: The formula returns exact matches from the lookup table and keeps the lookup column fixed while the return column changes as you fill right.
WPS Office Excel tutorial

Use INDEX MATCH Lookups in WPS Office Spreadsheets

WPS Office Spreadsheets supports INDEX and MATCH, so you can replace VLOOKUP with a more flexible lookup formula. Open your workbook, enter the formula once, and fill it across your data to return exact values without switching tools.

  1. 1. Open your workbook: Launch WPS Office and open the Excel-compatible workbook that contains your lookup table.
  2. 2. Select the first result cell: Click the cell where you want the first returned value, such as C3.
  3. 3. Enter the lookup formula: Type =INDEX(I:I,MATCH($B3,$H:$H,0)) and press Enter to return the matching value.
  4. 4. Apply the formula to the rest of the data: Drag the fill handle right to column D, then select the filled cells and drag down through the remaining rows.
Flexible exact-match lookup that can return values from any column.Full compatibility with .xlsx, .xls, and .csv files, including existing Excel formulas.Free, lightweight office suite with a familiar formula bar and function tools.
microsoft office alternative - wps office

Frequently Asked Questions

Can INDEX MATCH replace VLOOKUP in WPS Office Excel?

Yes. Use =INDEX(return_column,MATCH(lookup_value,lookup_column,0)). It returns the same value as VLOOKUP but keeps the formula stable if columns are inserted or rearranged.

Can INDEX MATCH return values from a column to the left of the lookup key?

Yes. Unlike VLOOKUP, INDEX and MATCH can look left because INDEX and MATCH are independent. Place the return column in INDEX and the lookup column in MATCH.

Why is the third argument of MATCH set to 0?

0 tells MATCH to find an exact match. Use it when your lookup value must match the lookup column exactly; use 1 or -1 only for sorted approximate matches.

How do I copy the formula to other cells without getting wrong results?

Use $ to lock the lookup column and the return column where needed. For example, $H:$H keeps column H fixed, while $B3 keeps column B fixed but lets the row number update.

What should I check if the formula returns #N/A?

Check that the lookup value exists in the lookup column, then look for extra spaces, different data types, or hidden characters in the lookup value or lookup column.