Formula Errors

Fix a #REF! Error in an Excel INDEX MATCH Formula

Bushra ParveenBushra Parveen Dec 2, 2026 869 views

Question details

Fix an INDEX MATCH formula that requests a column outside its return range.

Fix a #REF! Error in an Excel INDEX MATCH Formula
Product
Microsoft Excel
Device & OS
not provided
Scenario
The user wants to look up the value in C8 against column B and return a value from another column in an external workbook.
Observed behavior
The formula returns #REF! because it requests column 11 from an INDEX range that contains only one column.
Before you start

Check which column should supply the result and open the referenced workbook so you can verify its sheet name and ranges. Confirm that the lookup and return ranges cover the same rows.

Solution 1Recommended

Remove the column number to return a value from column K

Use this solution when column K is the intended return column.

1
Edit the formula

Select the cell showing #REF! and click the formula bar. Remove the final column-number argument, 11, from the INDEX function.

2
Enter the corrected formula

Use =INDEX('[Workbook.xlsx]Sheet0'!K11:K93,MATCH(C8,'[Workbook.xlsx]Sheet0'!B11:B93,0)), replacing the workbook and sheet names with your own.

3
Confirm the result

Press Enter. Excel should return the value from column K on the row where column B exactly matches C8.

Remove the column number to return a value from column K
Formula separators: If your Excel regional settings use semicolons instead of commas, replace the argument separators in the formula with semicolons.
Fix formulas in WPS Spreadsheet

Correct the INDEX MATCH formula in WPS Spreadsheet

Open the workbooks in WPS Spreadsheet and edit the INDEX range or column argument to return a value from the intended column.

  1. 1. Open the workbooks: In WPS Spreadsheet, use Menu > Open to open the workbook with the formula and the referenced workbook.
  2. 2. Select the formula cell: Click the cell showing #REF! and select its formula in the formula bar.
  3. 3. Correct the INDEX arguments: If the return range is K11:K93 and you want column K, remove the final 11 argument. If you need the eleventh column of a wider range, expand the range to K11:U93 and keep 11.
  4. 4. Apply the change: Press Enter and check that the result comes from the intended row and column.
Edit INDEX MATCH formulas and inspect their return rangesOpen and edit Microsoft Excel XLSX and XLS filesWork with spreadsheet formulas in a familiar interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does column number 11 cause #REF! in K11:K93?

INDEX counts columns within its selected range, not across the worksheet. K11:K93 contains only one column, so column 11 is outside the range.

Which column does INDEX return from K11:U93 when the column number is 11?

It returns a value from column U, the eleventh column of the K:U range. The MATCH result determines which row in that range to use.

Why does the corrected formula return #N/A instead?

MATCH with 0 requires an exact match. Check that C8 exists in B11:B93 and that differences such as extra spaces or numbers stored as text are not preventing a match.

Should I use commas or semicolons in the formula?

Use the argument separator required by your Excel regional settings. If Excel does not accept commas, replace the commas between function arguments with semicolons.