Formula Errors

How to Fix IFERROR and VLOOKUP Returning Blank Results in Excel

Olivia MillerOlivia Miller Nov 10, 2026 870 views

Question details

The user's formula combining IFERROR and VLOOKUP is returning an unexpected blank result instead of the target data.

How to Fix IFERROR and VLOOKUP Returning Blank Results in Excel
Product
Excel / WPS Spreadsheet
Device & OS
not provided
Scenario
Using VLOOKUP nested inside an IFERROR function to retrieve data from another sheet or table range without displaying default error codes.
Observed behavior
The formula returns a blank cell because the requested column index exceeds the specified lookup range (e.g., requesting column 19 from a 17-column range), triggering a #REF! error that the IFERROR function suppresses and replaces with a blank.
Before you start

Check your formula carefully to ensure that the column index number (col_index_num) in your VLOOKUP function is not greater than the total number of columns in your selected table array.

Solution 1Recommended

Expand the VLOOKUP Table Array Range

Adjust the lookup range in your formula to include all necessary columns, preventing the #REF! error that IFERROR hides.

VLOOKUP counts columns from left to right starting at the beginning of your selected range. If your range is B:R (17 columns) and you ask for column 19, the function fails. Expanding the range solves this immediately.

1
Select the formula cell

Click on the cell that contains your problematic IFERROR and VLOOKUP formula to view it in the formula bar at the top.

2
Locate the table array

Identify the 'table_array' argument in your VLOOKUP formula, such as 'Calendar Control'!$B:$R.

3
Check the column index

Look at the 'col_index_num' argument (the number right after the table array). If this number is larger than the total columns in your array, you must expand the array.

4
Update the range

Change the ending column letter in the table array to encompass the required columns (for example, update $B:$R to $B:$Z) and press Enter.

Expand the VLOOKUP Table Array Range
Understanding IFERROR: When VLOOKUP references a column outside its range, it generates a #REF! error. If you use IFERROR(..., ""), this error is hidden and replaced with a blank cell, which can make troubleshooting difficult.
Efficient Spreadsheet Data Management

Solve Formula Errors Easily with WPS Spreadsheet

WPS Office provides a powerful Spreadsheet application fully compatible with Excel formulas, including VLOOKUP, XLOOKUP, and IFERROR. With advanced formula auditing tools, finding and fixing hidden errors is quick and straightforward.

  1. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your .xlsx file containing the formula errors.
  2. 2. Use Error Checking tools: Navigate to the 'Formulas' tab on the top ribbon and click on 'Error Checking' to help identify underlying issues.
  3. 3. Evaluate the formula: Click 'Evaluate Formula' to step through your IFERROR and VLOOKUP calculation one step at a time, revealing exactly where it fails.
  4. 4. Correct the lookup range: Click into the formula bar and adjust your table array range directly to include the missing columns.
Fully compatible with Microsoft Excel (.xlsx) formats and standard spreadsheet functions.Includes modern functions like XLOOKUP for easier, error-free data retrieval.Provides built-in error checking and formula auditing tools to troubleshoot nested functions.Free, lightweight, and features a familiar tabbed interface for seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

Why does VLOOKUP return a blank when there is matching data?

If your VLOOKUP is wrapped in an IFERROR function set to return a blank (""), any underlying error—such as an invalid column index (#REF!) or a missing match (#N/A)—will be completely hidden and displayed as a blank cell.

How do I find the correct column index number for VLOOKUP?

The column index number is the position of the column within your selected lookup range, starting with 1 for the leftmost column. For example, if your table array is C:F, column C is 1, D is 2, E is 3, and F is 4.

Can I make VLOOKUP automatically adjust if I insert new columns in my data?

Yes. Instead of typing a hardcoded number like '19', you can use the MATCH function to dynamically find the correct column index. Alternatively, switching to XLOOKUP or an INDEX/MATCH combination prevents column insertion errors entirely.