Fix INDEX MATCH Formula Repeating First Result in Spreadsheets
Question details
The user needs to modify an INDEX MATCH formula so it evaluates the correct lookup value for each row instead of repeating the first result when copied down a worksheet.

- Product
- Spreadsheets
- Device & OS
- not provided
- Scenario
- Filling an INDEX MATCH formula down a column to look up multiple item IDs across different rows.
- Observed behavior
- The formula returns the correct data for the first row, but returns the exact same result for all subsequent rows when dragged downward.
Ensure you understand the difference between absolute (e.g., $C$15) and relative (e.g., C15) cell references. Locking the wrong part of a cell address is the most common cause for repeating formula results.
Remove Absolute Row References from the Lookup Value
Change the lookup value's cell reference from absolute to relative or mixed so the row number can increment automatically as you copy the formula down.
When you use dollar signs ($) in a cell reference (like $C$15), the spreadsheet locks both the column and the row. If the lookup value inside your MATCH function is fully locked, the formula will search for the exact same value in every single row, causing the result to repeat endlessly.
To fix this, you need to make the row reference relative while keeping the search arrays absolute.
Click on the cell containing the incorrect INDEX MATCH formula to make it active.
Look at the formula bar and locate the lookup value inside the MATCH function (for example, 'MAIN DATA FILE'!$C$15).
Delete the dollar sign ($) placed immediately before the row number. Change $C$15 to $C15 (or C15). This allows the row number to change when copied.
Press Enter to save the updated formula.
Click and drag the fill handle (the small square at the bottom-right corner of the selected cell) down to copy the corrected formula to the remaining rows.

Master Complex Formulas with WPS Spreadsheet
WPS Spreadsheet handles advanced lookups like INDEX MATCH and XLOOKUP effortlessly. It offers intuitive formula auditing tools to help you quickly identify referencing errors and seamlessly process large datasets.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your lookup formulas.
- 2. Edit the formula: Double-click the cell with the INDEX MATCH formula, or select it and press F2.
- 3. Toggle references quickly: Highlight the lookup cell reference in the formula bar and press the F4 key to toggle between absolute and relative references until it displays a mixed reference (e.g., $C15).
- 4. Auto-fill: Double-click the fill handle at the bottom right of the cell to instantly apply the corrected formula down the entire column.

Frequently Asked Questions
Why does my VLOOKUP also repeat the same value when dragged down?
Similar to INDEX MATCH, this usually happens if your lookup value is locked with an absolute reference (e.g., $A$2 instead of A2). It can also happen if your workbook calculation options are set to 'Manual' instead of 'Automatic', which stops formulas from recalculating until you press F9.
How do I quickly change absolute references to relative references?
You can select the cell reference inside the formula bar and press the F4 key on your keyboard. Pressing it multiple times will cycle through absolute ($A$1), mixed row (A$1), mixed column ($A1), and relative (A1) references.
Should the lookup array or return array also be relative in INDEX MATCH?
No, the ranges you are searching within (the lookup array and the return array) should almost always be absolute (e.g., $A$2:$A$100). If you do not lock these ranges, they will shift downward as you copy the formula, causing errors or missing data in subsequent rows.




