Formula Errors

Fix the Excel VLOOKUP #REF! Error When Returning a Second Column

Ayan MasoodAyan Masood Dec 2, 2026 869 views

Question details

The user needs to match an email address and return a value from the second column without a VLOOKUP #REF! error.

Fix the Excel VLOOKUP #REF! Error When Returning a Second Column
Product
Microsoft Excel
Device & OS
not provided
Scenario
A VLOOKUP formula searches for the email address in F2 on Sheet1 and requests a value from the second column of the lookup range.
Observed behavior
The formula =VLOOKUP(F2,Sheet1!C:C,2,FALSE) returns #REF! because the specified range contains only one column.
Before you start

On Sheet1, check that the email addresses are in column C and the values you want to return are in column D. Make sure F2 contains the email address to look up.

Solution 1Recommended

Expand the VLOOKUP Range to Include Column D

Use this fix when VLOOKUP requests column 2 but its lookup range includes only column C.

The column index is counted from the left edge of the lookup range. Sheet1!C:C has only one column, so requesting column 2 produces #REF!.

1
Select the formula cell

Click the cell containing =VLOOKUP(F2,Sheet1!C:C,2,FALSE), then click the formula bar.

2
Expand the range

Replace Sheet1!C:C with Sheet1!C:D so the range includes both the email column and the return column.

3
Apply the formula

Enter =VLOOKUP(F2,Sheet1!C:D,2,FALSE) and press Enter. The formula searches column C for an exact match and returns the corresponding value from column D.

Expand the VLOOKUP Range to Include Column D
Check for exact matches: If the corrected formula returns #N/A, check that the email in F2 matches an entry in Sheet1 column C and that neither value has extra spaces.
Fix VLOOKUP in WPS Spreadsheets

Correct the Lookup Range in WPS Spreadsheets

Use WPS Spreadsheets to edit the VLOOKUP formula, include both source columns, and return the value associated with an email address.

  1. 1. Open the workbook: Open WPS Spreadsheets, select Open, and choose your spreadsheet file.
  2. 2. Check the source columns: Select the Sheet1 tab and confirm that column C contains email addresses and column D contains the values to return.
  3. 3. Edit the formula: Select the cell with the VLOOKUP error and enter =VLOOKUP(F2,Sheet1!C:D,2,FALSE) in the formula bar.
  4. 4. Check the result: Press Enter and verify that the returned value corresponds to the email address in F2.
Fix a VLOOKUP #REF! error by expanding the lookup rangeOpen and edit Microsoft Excel XLSX and XLS filesWork with familiar spreadsheet formulas and a familiar interfaceUse WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

Why does VLOOKUP return #REF! when I request column 2?

The column index exceeds the number of columns in the lookup range. For example, Sheet1!C:C contains only one column; use Sheet1!C:D to include a second column.

What does FALSE do in the VLOOKUP formula?

FALSE requests an exact match. In =VLOOKUP(F2,Sheet1!C:D,2,FALSE), Excel looks for the value in F2 in column C and returns the matching value from column D.

Why do I get #N/A after fixing the lookup range?

#N/A usually means no exact match was found. Compare F2 with the email addresses on Sheet1 and check for extra spaces or differences in the text.

Can VLOOKUP return a value from a column to the left?

VLOOKUP searches the first column of its range and returns from a column to its right. In newer Excel versions, use XLOOKUP if the return column is to the left of the lookup column.