Function Problems

Fix Excel VLOOKUP Returning the Wrong Row or Column

John WilsonJohn Wilson Nov 18, 2026 869 views

Question details

Identify why an Excel VLOOKUP formula returns a value from the wrong row or column.

Fix Excel VLOOKUP Returning the Wrong Row or Column
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user is looking up a value in a table whose range, columns, match mode, or source data may have changed.
Observed behavior
VLOOKUP returns an unexpected result instead of the value from the intended row or column.
Before you start

Select the cell with the unexpected result and inspect its formula and source range. If the cause is unclear, create a small sample workbook that reproduces the result without sensitive data.

Solution 1Recommended

Check the VLOOKUP range, column index, and match mode

Use this method when the formula returns an unexpected value after the table or formula has changed.

1
Inspect the formula

Select the result cell and check its formula in the formula bar. For example, =VLOOKUP(E2,$A$2:$C$100,3,FALSE) looks for E2 in column A and returns a value from column C.

2
Verify the lookup range

In the formula bar, confirm that the lookup keys are in the first column of the selected table range and that the desired return column is included. Use absolute references such as $A$2:$C$100 if the range should stay fixed when you copy the formula.

3
Check the column number

Count columns from the left edge of the selected range, not from the worksheet's column A. Update the third VLOOKUP argument if columns were inserted, removed, or rearranged.

4
Set the match mode

Change the fourth argument to FALSE for an exact match. Use TRUE only when an approximate match is intended and the first column of the lookup range is sorted in ascending order.

5
Inspect the source keys

Check the lookup column for duplicate keys, hidden spaces, and numbers stored as text. VLOOKUP returns the first matching row; correct duplicate or inconsistent keys in the source cells as needed.

Check the VLOOKUP range, column index, and match mode
Check copied formulas: If only copied formulas are wrong, select an affected cell and check whether relative references shifted to a different lookup value or table range.
Work with lookup formulas in WPS

Check VLOOKUP Results in WPS Spreadsheet

Open your workbook in WPS Spreadsheet and inspect the lookup range, return column, and exact-match setting to correct VLOOKUP results.

  1. 1. Open the workbook: In WPS Spreadsheet, select Open and choose the Excel workbook containing the lookup formula.
  2. 2. Inspect the formula: Select the cell with the unexpected result and review its VLOOKUP formula in the formula bar.
  3. 3. Correct the arguments: Make sure the lookup keys are in the first column of the table range, set the return column number, and use FALSE for an exact match.
  4. 4. Check and save: Compare the result with the source row, check for duplicate or inconsistent keys, and select Save.
Inspect and edit VLOOKUP formulas in a spreadsheetOpen and save Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interfaceWork with spreadsheets using a free Office alternative
microsoft office alternative - wps office

Frequently Asked Questions

Why does VLOOKUP return a value from the wrong column?

Check the third argument in the formula bar. The column number is counted from the left edge of the selected table range, so it may need updating if the range or columns changed.

Why does VLOOKUP return the wrong match when my table is not sorted?

If the fourth argument is TRUE or omitted, VLOOKUP uses approximate matching and expects the lookup column to be sorted in ascending order. Use FALSE when you need an exact match.

What happens if the lookup column contains duplicate values?

With exact matching, VLOOKUP returns the value associated with the first matching key in the selected range. Check the source column for duplicates if you expected a different row.

Why does my VLOOKUP formula change when I copy it?

Relative references shift when copied. Select the formula and use absolute references, such as $A$2:$C$100, for a table range that should remain fixed.

Can I look up a value in a column to the right of the return column?

VLOOKUP cannot return a column to the left of its lookup column. Use INDEX and MATCH with separate return and lookup ranges instead.