Function Problems

Fix a VLOOKUP Formula in WPS Spreadsheets When the Lookup Range Shifts

Steven ParkerSteven Parker Dec 2, 2026 870 views

Question details

Keep the VLOOKUP table range fixed when copying a formula down so that the first rows of the lookup table remain searchable.

Fix a VLOOKUP Formula When the Lookup Range Shifts
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
A user fills a VLOOKUP formula down a column to find values in a separate lookup table.
Observed behavior
The lookup range shifts down with the formula, excluding the first rows of the table and potentially causing missing results.
Before you start

Identify the lookup value column and the full lookup table range. In this example, the values to find are in column K, and the lookup table is in P2:Q712.

Solution 1Recommended

Lock the VLOOKUP Table Range with Absolute References

Use this fix when copying the formula down causes the lookup table range to move.

1
Edit the first formula

Select cell L2 and enter =VLOOKUP(K2,$P$2:$Q$712,2,FALSE) in the formula bar. Adjust the cell references to match your worksheet.

2
Lock the table range

If editing an existing formula, select its P2:Q712 range reference in the formula bar and press F4 to add dollar signs. On some keyboards, use Fn+F4.

3
Fill the formula down

Press Enter, select L2, and drag its fill handle down the column. The lookup value changes to K3, K4, and so on, while $P$2:$Q$712 stays fixed.

4
Check the results

Select a filled cell and inspect its formula in the formula bar. Confirm that the lookup value matches its row and the table range still starts at $P$2.

Lock the VLOOKUP Table Range with Absolute References
Use the correct lookup column: VLOOKUP searches the first column of the selected table range. In this example, it searches column P and returns a matching value from column Q.
WPS Spreadsheets

Fix and Fill VLOOKUP Formulas in WPS Spreadsheets

Use WPS Spreadsheets to lock a lookup table with absolute references, then fill the formula down without shifting the table range.

  1. 1. Open the workbook: Open WPS Spreadsheets and choose Open to select your workbook.
  2. 2. Enter the formula: Select L2 and enter =VLOOKUP(K2,$P$2:$Q$712,2,FALSE), replacing the references with the ones in your worksheet if needed.
  3. 3. Fill the column: Press Enter, select L2, and drag the fill handle down to apply the formula to the remaining rows.
  4. 4. Verify and save: Select a filled cell to confirm the lookup range remains fixed, then choose Save.
Keep VLOOKUP table ranges fixed when filling formulas downOpen and edit Microsoft Excel XLSX and XLS filesInspect and edit formulas in a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does VLOOKUP stop finding values from the first rows of my table?

If the table range uses relative references, it moves down when you fill the formula down. Lock the range with dollar signs, such as $P$2:$Q$712, so the first rows remain included.

What does F4 do to a VLOOKUP range?

While editing a formula, select the table range reference in the formula bar and press F4 to add absolute-reference dollar signs. Some keyboards require Fn+F4.

Why is VLOOKUP still returning #N/A after I lock the range?

Check that the lookup value exists in the first column of the table range. Also check for extra spaces or numbers stored as text, which can prevent an exact match.

Should I lock the lookup value as well as the table range?

Not when each row should look up its own value. Leave K2 relative so it changes to K3 and K4 as you fill down, while keeping the table range absolute.