How to Fix VLOOKUP Not Working When Dragged Down in Spreadsheet
Question details
The user needs to fix a VLOOKUP formula that stops working or returns errors when it is dragged or copied down to multiple rows.
- Product
- WPS Spreadsheet
- Device & OS
- not provided
- Scenario
- Copying or dragging a VLOOKUP formula down a column to apply the same lookup logic to multiple consecutive rows.
- Observed behavior
- The formula fails to return correct results in lower rows because the relative references for the lookup table shift downwards, resulting in incorrect data or #N/A errors.
Before modifying your formulas, verify that your lookup table contains the correct source data and note which specific rows are returning the #N/A errors.
Lock the Lookup Table Array Using Absolute References
Prevent the lookup range from shifting by adding dollar signs ($) to the row and column identifiers to make them absolute.
By default, spreadsheet applications use relative references. When you drag a formula down, the row numbers increase automatically. Converting the lookup table reference to an absolute reference ensures the formula always points to the exact same table.
Click on the cell containing your first VLOOKUP formula.
In the formula bar, highlight the table array portion of your formula (e.g., 'Item List'!A1:B7).
Press the F4 key on your keyboard to automatically add dollar signs, changing it to an absolute reference (e.g., 'Item List'!$A$1:$B$7). If preferred, you can also type the dollar signs manually.
Optionally, wrap the formula in IFERROR to hide error messages if a match isn't found: =IFERROR(VLOOKUP(C6,'Item List'!$A$1:$B$7,2,FALSE),"").
Press Enter, click the small square at the bottom-right of the cell, and drag it down to apply the corrected formula to the remaining rows.
Use Entire Column References for the Lookup Range
Reference entire columns instead of specific rows so the range remains constant regardless of where the formula is dragged.
Easily Manage VLOOKUP Formulas with WPS Spreadsheet
WPS Spreadsheet provides intuitive formula editing, smart auto-fill, and reliable error checking to help you manage complex datasets and VLOOKUP functions effortlessly without breaking references.
- 1. Open your data file: Launch WPS Spreadsheet and open the document containing your dataset.
- 2. Use the formula assistant: Type =VLOOKUP( in the desired cell to trigger the formula assistant, which guides you through each parameter.
- 3. Lock references instantly: Select your table array and press F4 to instantly lock your references.
- 4. Auto-fill the column: Double-click the fill handle in the bottom-right corner of the cell to automatically populate the formula down the entire column.

Frequently Asked Questions
Why does my VLOOKUP formula change when I drag it down?
By default, spreadsheet applications use relative cell references. When you drag a formula down, the row numbers automatically increase. This causes your lookup table range to shift downwards, which leads to missing data or #N/A errors unless you lock the range with absolute references ($).
What does the IFERROR function do in combination with VLOOKUP?
The IFERROR function intercepts errors (such as #N/A when an exact match isn't found in your lookup table) and replaces them with a custom value. Using it like =IFERROR(VLOOKUP(...), "") replaces the error with a blank cell, making your spreadsheet look cleaner.
How do I quickly add dollar signs ($) to my formula?
You can quickly convert a relative reference to an absolute reference by clicking inside the cell reference within the formula bar and pressing the F4 key on your keyboard. Pressing it multiple times will toggle through different lock states (full lock, row lock, column lock).




