Fix VLOOKUP Returning #N/A or Zero in WPS Spreadsheets
Question details
Identify why a VLOOKUP formula returns #N/A or zero instead of the expected value.

- Product
- WPS Spreadsheets
- Device & OS
- not provided
- Scenario
- A lookup formula wrapped in IFERROR returns zeros for some records even though the source data appears correct.
- Observed behavior
- Removing IFERROR reveals #N/A for affected records.
Select an affected formula and inspect it in the formula bar. Identify the lookup cell, the first column of the lookup range, the return column, and the IFERROR fallback value.
Clean the lookup values and verify the VLOOKUP range
Use this method when visually similar values do not match or IFERROR hides a lookup error.
VLOOKUP with FALSE requires an exact match, but it is not case-sensitive. Extra spaces, hidden characters, spelling differences, and numbers stored as text can prevent a match.
Select an affected cell and temporarily remove the outer IFERROR wrapper in the formula bar. If VLOOKUP returns #N/A, check the lookup value and source keys for a mismatch.
Click the lookup cell and its expected match in the source table. Check their spelling, trailing spaces, and whether numbers are stored as text. For example, JANUARY and JANUARY followed by a space are different values.
In a helper column to the left of the source table, enter =TRIM(CLEAN(SUBSTITUTE(D2,CHAR(160)," "))) if D2 contains the original key. Fill the formula down alongside the source records. This removes common hidden characters and replaces nonbreaking spaces.
If A2 is the lookup value, the cleaned keys are in C2:C100, and the return values are in E2:E100, enter =VLOOKUP(TRIM(CLEAN(SUBSTITUTE(A2,CHAR(160)," "))),$C$2:$E$100,3,FALSE). Adjust the range and column index to match your table.
Compare the result with the source return cell. If a valid match returns zero, check whether that source cell is blank or contains zero. Once the lookup works, use IFERROR around the formula with a clear fallback such as "Not found" instead of 0.

Troubleshoot VLOOKUP formulas in WPS Spreadsheets
Use WPS Spreadsheets to inspect lookup formulas, clean source keys, and test exact matches in your workbook.
- 1. Open the workbook: Open WPS Spreadsheets and choose Open to select your workbook.
- 2. Inspect the formula: Select a cell with an unexpected result and review its VLOOKUP and IFERROR arguments in the formula bar.
- 3. Clean the lookup keys: Add a helper column beside the source data and enter a TRIM and CLEAN formula for each lookup key.
- 4. Test an exact match: Update the VLOOKUP range to begin with the cleaned helper column, set the final argument to FALSE, and compare the result with the source cell.

Frequently Asked Questions
Why does IFERROR show zero instead of #N/A?
The formula may use 0 as its IFERROR fallback. Select the cell and inspect the formula bar; temporarily remove IFERROR to see the underlying error.
Does VLOOKUP distinguish uppercase from lowercase?
No. VLOOKUP is not case-sensitive. Check for spelling differences, extra spaces, or hidden characters instead.
Why does VLOOKUP return zero even when it finds a match?
The matched return cell may contain zero or be blank. Check that cell in the source table and confirm that the column index points to the intended return column.
How do I make VLOOKUP use an exact match?
Set the fourth argument to FALSE, as in =VLOOKUP(A2,$C$2:$E$100,3,FALSE). The lookup key must be in the first column of the selected range.




