How to Fix VLOOKUP Not Finding Matching Values in Spreadsheets
Question details
VLOOKUP cannot find a specific matching value and returns an error, even though the value visibly exists and can be located using the Find and Replace tool.
- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Attempting to retrieve data using VLOOKUP across sheets or tables where the lookup values appear to be identical.
- Observed behavior
- The formula fails to recognize the match and returns an error (#N/A), despite previously converting values to numbers, removing standard spaces, and applying General formatting.
Verify that the lookup value is located in the very first column of your selected table array, as VLOOKUP can only search from left to right.
Ensure Exact Match is Specified in the Formula
By default, VLOOKUP performs an approximate match which can fail to find exact strings. Forcing an exact match often resolves unrecognized values.
If the fourth argument (range_lookup) is omitted or set to TRUE, VLOOKUP requires the first column to be sorted alphabetically or numerically. If it is not sorted, the formula may return an incorrect value or fail to find a match entirely.
Double-click the cell containing your VLOOKUP formula, or click on it and place your cursor in the formula bar at the top.
Ensure the formula ends with FALSE or 0 to force an exact match. For example, change =VLOOKUP(A2, B:D, 2) to =VLOOKUP(A2, B:D, 2, FALSE).
Press the Enter key. If the values match exactly, the correct result will now populate instead of an error.
Remove Hidden Non-Breaking Spaces
Data imported from websites or databases often contains non-breaking spaces (character 160) that the standard TRIM function cannot remove.
Lock Your Table Array with Absolute References
If VLOOKUP works for the first few rows but fails further down, your table array might be shifting as you drag the formula.
Effortlessly Manage Data and Formulas with WPS Spreadsheet
WPS Office provides a highly compatible and intuitive spreadsheet environment, making it easy to write, debug, and manage complex formulas like VLOOKUP without frustrating formatting issues.
- 1. Open your file in WPS Office: Launch WPS Office and open your spreadsheet document.
- 2. Insert the VLOOKUP function: Select an empty cell, click the Formulas tab, and choose Insert Function to search for VLOOKUP.
- 3. Fill in the arguments: Use the intuitive dialog box to select your Lookup_value, Table_array, Col_index_num, and type FALSE for Range_lookup.
- 4. Apply and analyze: Click OK to generate the result, then drag the cell corner to apply it to your entire dataset.

Frequently Asked Questions
Why does VLOOKUP return #N/A when the value is clearly visible?
This error means the exact lookup value cannot be found in the first column of your table array. This is frequently caused by trailing spaces, invisible characters (like non-breaking spaces), or mismatched data types between the lookup cell and the target cell.
Can Find and Replace locate values that VLOOKUP cannot?
Yes. Find and Replace searches across raw cell contents and often ignores strict data typing or trailing non-breaking spaces. VLOOKUP, however, requires an exact programmatic match in both data type and string length.
Does VLOOKUP care about text capitalization?
No, VLOOKUP is generally case-insensitive. Searching for 'APPLE' will successfully match with 'apple'. If the match fails, the issue is more likely related to spaces or formatting.
How do I force text to be recognized as numbers in VLOOKUP?
You can multiply the lookup value by 1 within the formula (e.g., =VLOOKUP(A2*1, Table, 2, FALSE)) to force it into a numerical format, or use the Text to Columns feature on the Data tab to convert the column.




