Fix a VLOOKUP Formula in WPS Spreadsheets When the Lookup Range Shifts
Question details
Keep the VLOOKUP table range fixed when copying a formula down so that the first rows of the lookup table remain searchable.

- 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.
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.
Lock the VLOOKUP Table Range with Absolute References
Use this fix when copying the formula down causes the lookup table range to move.
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.
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.
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.
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.

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. Open the workbook: Open WPS Spreadsheets and choose Open to select your workbook.
- 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. Fill the column: Press Enter, select L2, and drag the fill handle down to apply the formula to the remaining rows.
- 4. Verify and save: Select a filled cell to confirm the lookup range remains fixed, then choose Save.

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.




