Fix the Excel VLOOKUP #REF! Error When Returning a Second Column
Question details
The user needs to match an email address and return a value from the second column without a VLOOKUP #REF! error.

- 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.
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.
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!.
Click the cell containing =VLOOKUP(F2,Sheet1!C:C,2,FALSE), then click the formula bar.
Replace Sheet1!C:C with Sheet1!C:D so the range includes both the email column and the return column.
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.

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. Open the workbook: Open WPS Spreadsheets, select Open, and choose your spreadsheet file.
- 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. Edit the formula: Select the cell with the VLOOKUP error and enter =VLOOKUP(F2,Sheet1!C:D,2,FALSE) in the formula bar.
- 4. Check the result: Press Enter and verify that the returned value corresponds to the email address in F2.

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.




