logo
search
Formula Errors

How to Fix VLOOKUP #NAME? Error and Skipped Rows in Excel

Guest WriterGuest Writer Sep 28, 2026 871 views

Question details

The user needs to fix a VLOOKUP formula that returns a #NAME? error or skips expected rows.

How to Fix a VLOOKUP #NAME? Error or Skipped Row
Product
Excel / WPS Spreadsheet
Device & OS
not provided
Scenario
Retrieving data from a table or named range using the VLOOKUP function.
Observed behavior
The formula fails to return the correct value, instead returning a #NAME? error or pulling data from an incorrect or skipped row.
Before you start

Verify that your spreadsheet's calculation mode is set to Automatic and check that there are no extra spaces in the text of your lookup values.

Solution 1Recommended

Correct Formula Spelling and Set to Exact Match

Resolve the #NAME? error by verifying the spelling of named ranges and avoid skipped rows by enforcing an exact match.

A #NAME? error typically indicates that the spreadsheet cannot recognize a text string within the formula. This is most commonly caused by a misspelled function name or a misspelled named range.

1
Check the named range spelling

Go to the Formulas tab and click on Name Manager. Verify that your intended named range (such as MinDistDZ) actually exists and is spelled exactly as you typed it in the formula.

2
Enforce an exact match

To prevent VLOOKUP from skipping rows or returning inaccurate data, add FALSE or 0 as the fourth argument in your formula. For example, edit your formula to read: =VLOOKUP(A23, MinDistDZ, 4, FALSE).

3
Verify the column index number

Check the third argument in your VLOOKUP formula. Ensure it corresponds to the correct column number within your named range where the return value is located.

Correct Formula Spelling and Set to Exact Match
Formula Tip: Using the formula builder dialogue box instead of typing manually can help prevent spelling mistakes and syntax errors.
Efficient Spreadsheet Data Management

Troubleshoot Formulas Easily with WPS Spreadsheet

WPS Spreadsheet provides a highly intuitive interface with built-in Error Checking and an easy-to-use Name Manager, allowing you to identify and fix VLOOKUP issues in seconds.

  1. 1. Open the document in WPS: Launch WPS Office and open your spreadsheet file.
  2. 2. Access the Name Manager: Navigate to the Formulas tab on the ribbon and click Name Manager to quickly verify or edit your data ranges.
  3. 3. Use the Function Wizard: Click the fx (Insert Function) icon next to the formula bar, search for VLOOKUP, and use the prompt boxes to enter your exact arguments safely.
Fully compatible with Microsoft Excel formulas, functions, and .xlsx file formats.Dedicated Name Manager interface for tracking and editing named ranges.Built-in function wizard to prevent syntax and #NAME? errors.Free and lightweight software for maximum daily productivity.
microsoft office alternative - wps office

Frequently Asked Questions

What exactly does a #NAME? error mean in Excel or WPS?

The #NAME? error means the application cannot understand a text value in the formula. This happens if the function name is typed incorrectly (e.g., VLOKUP instead of VLOOKUP), a named range does not exist, or text strings inside the formula are missing quotation marks.

Why does VLOOKUP return a value from the wrong row?

This usually occurs when the fourth argument of the VLOOKUP formula is omitted or set to TRUE (approximate match), but the first column of the lookup table is not sorted in ascending order. To fix this, either sort the first column alphabetically/numerically, or change the last argument to FALSE for an exact match.

How do I fix a data type mismatch in VLOOKUP?

If your lookup value is a number formatted as text, but your table contains actual numbers, VLOOKUP will fail to find a match. You can fix this by selecting the cells, navigating to the Home tab, and changing the cell format to General or Number. Alternatively, use the 'Text to Columns' feature under the Data tab to quickly convert text numbers into actual numerical values.