ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Lookups
  3. VLOOKUP Not Working? 8 Causes and Fixes

VLOOKUP Not Working? 8 Causes and Fixes

By ExcelReady Team·Updated November 1, 2026·6 min read

The short answer

When VLOOKUP is not working, the usual causes are a missing FALSE for exact match, extra spaces, numbers stored as text, a lookup value that isn't in the first column, or a table range that shifts when copied. Check each one in turn. TRIM fixes spaces, $ signs lock the range, and IFNA handles values that are truly missing.

Key takeaways

  • Always end with FALSE for an exact match; without it VLOOKUP may return the wrong row.
  • Hidden spaces and numbers stored as text are the top causes of #N/A when the value looks present.
  • VLOOKUP only searches the first column of the table and can't return columns to its left.
  • Lock the table with $ signs before copying the formula down.
  • Use IFNA to show a message only after you are sure the value really is missing.
On this page+
  1. 1. The fourth argument is missing, so the match is approximate
  2. 2. Extra spaces hide in the data
  3. 3. Numbers are stored as text
  4. 4. The lookup value is not in the first column
  5. 5. The table range moves when you copy the formula
  6. 6. The column index number is wrong
  7. 7. The formula shows as text or doesn't update
  8. 8. The value really is missing
  9. Practise it

When VLOOKUP is not working, the formula is almost always fine and the data is the problem. A hidden space, a number stored as text or a range that moved is enough to turn a correct lookup into #N/A or a wrong answer. Work through the eight causes below in order, and you will find the fix for most broken lookups in a few minutes.

The examples use this staff list in A1:C6, with the name to find in F2:

ABC
1EmployeeDepartmentExtension
2Liam CarterSales2104
3Priya NairFinance2231
4Jonas WeberIT2187
5Amara ObiHR2045
6Chen WeiSales2119

A useful tool for every cause below is Evaluate Formula. Click the formula cell and go to Formulas > Evaluate Formula, then click Evaluate to watch Excel work out each part in turn. You can see the exact lookup value it uses, hidden spaces included, and the step where the error first appears.

1. The fourth argument is missing, so the match is approximate#

If you leave out the last argument, VLOOKUP uses an approximate match. On unsorted data it can return a value from the wrong row without any error. Always add FALSE (or 0) for an exact match:

Excel formula
=VLOOKUP(F2,A2:C6,3,FALSE)

With "Priya Nair" in F2, this returns 2231. Approximate match is only for sorted bands, such as tax brackets or grade boundaries. The beginner's VLOOKUP guide explains both modes.

2. Extra spaces hide in the data#

A trailing space makes "Priya Nair " a different value from "Priya Nair", so VLOOKUP returns #N/A even though you can see the name. Spaces often arrive with data copied from websites or exported from other systems.

To test, use LEN: =LEN(F2) returns 10 for "Priya Nair" and 11 if there is a hidden space. To fix the lookup value, wrap it in TRIM:

Excel formula
=VLOOKUP(TRIM(F2),A2:C6,3,FALSE)

TRIM removes spaces at the start and end and turns double spaces into single ones. If the spaces are in the table instead, clean that column with TRIM in a helper column. See the TRIM function guide for details.

3. Numbers are stored as text#

To Excel, the number 2104 and the text "2104" are different values, so they never match. This happens a lot with IDs imported from other systems. Text numbers usually sit on the left of the cell and may show a small green triangle.

Fix the formula to match the table's type:

Table holdsLookup cell holdsFix
Text IDsReal numbers=VLOOKUP(F2&"",A2:C6,3,FALSE)
Real numbersText IDs=VLOOKUP(VALUE(F2),A2:C6,3,FALSE)

Joining &"" turns a number into text, and VALUE turns text into a number. You can also convert the whole column once with the warning triangle's Convert to Number option.

4. The lookup value is not in the first column#

VLOOKUP only searches the first column of the table you give it. If you want to find a department and return the employee name, =VLOOKUP("IT",A2:C6,1,FALSE) fails, because column A holds names, not departments.

Start the table at the column you search instead, such as B2:C6, and count the return column from there. VLOOKUP can never return a column to the left of the search column. For that, use XLOOKUP or INDEX MATCH. If INDEX MATCH gives you trouble too, read why INDEX MATCH stops working.

5. The table range moves when you copy the formula#

A formula that works in the first row and fails lower down usually has an unlocked range. When you copy =VLOOKUP(F2,A2:C6,3,FALSE) down one row, it becomes A3:C7, which no longer includes row 2.

Lock the table with dollar signs. Click the range in the formula bar and press F4 (Mac: ⌘T) to add them:

Excel formula
=VLOOKUP(F2,$A$2:$C$6,3,FALSE)

Leave F2 unlocked so each row looks up its own value.

6. The column index number is wrong#

The third argument counts columns from the left edge of the table, not from column A. A number larger than the table's width returns #REF!, a number below 1 returns #VALUE!, and a typed number goes wrong when someone inserts a column. The guide to the VLOOKUP column index number shows how to count it and how to make it update with MATCH.

7. The formula shows as text or doesn't update#

If the cell shows =VLOOKUP(...) instead of a result, the cell was formatted as Text before you typed. Change the format to General (Home > Number Format), click into the cell, and press Enter.

If the result doesn't change when the data changes, calculation may be set to Manual. Go to Formulas > Calculation Options > Automatic, or press F9 to recalculate once. Also check that Show Formulas is off (Windows: Ctrl+`; Mac: ⌃`).

8. The value really is missing#

Sometimes #N/A is the right answer: the ID or name just isn't in the table. Once you have ruled out causes 2 and 3, show a clear message instead of the error with IFNA:

Excel formula
=IFNA(VLOOKUP(F2,$A$2:$C$6,3,FALSE),"Not found")

Use IFNA rather than IFERROR here. IFNA only hides "not found" results, while IFERROR also hides real mistakes, such as a #REF! from a bad column number. Hiding errors before you understand them is a common trap in job tests, and it often comes up in VLOOKUP interview questions. The same data problems also break counting formulas, as the guide to COUNTIF not working shows. The VLOOKUP function guide has the full syntax.

Practise it#

The fastest way to get good at fixing lookups is to fix broken ones. Practise fixing lookup errors in a live spreadsheet: each task has a #N/A or wrong answer, and you find the cause and repair the formula. If you need a refresher on the basics first, practise VLOOKUP step by step, then test yourself with the intermediate Excel mock test.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

The name in F2 has a hidden space at the end, so a plain VLOOKUP returns #N/A. In G2, look up the extension in column C, but wrap F2 in TRIM inside the VLOOKUP.

fx
ABCDEFGH
1
Employee
Department
Extension
Name
Extension
2
Liam Carter
Sales
2104
Priya Nair
3
Priya Nair
Finance
2231
4
Jonas Weber
IT
2187
5
Amara Obi
HR
2045
6
Chen Wei
Sales
2119
7
8
9

Tip: Put TRIM(F2) where the lookup value goes, then the table, the column number 3 and FALSE.

Practise this in a lesson

LessonFixing lookup errorsDiagnose #N/A, #REF! and silent wrong answers in lookups, then handle missing items gracefully.LessonVLOOKUP exact matchPull product names and prices from a catalog with VLOOKUP, and lock the table so the formula fills down cleanly.Function guideVLOOKUPLearn VLOOKUP with clear examples, the 4 most common mistakes, and a live practice exercise you can try in your browser.Function guideTRIMClean imported data with Excel's TRIM: strip leading, trailing and double spaces so lookups and counts work. Examples and live practice.

Frequently asked questions

Why does VLOOKUP return #N/A when the value is there?

+

The two values are not exactly the same to Excel. The most common reasons are a hidden space at the end of one value, or one being a number while the other is text that looks like a number.

Why does VLOOKUP return the wrong value?

+

You probably left out the fourth argument, so VLOOKUP used an approximate match. Add FALSE at the end, like =VLOOKUP(F2,A2:C6,3,FALSE), to force an exact match.

Why does my VLOOKUP work in the first row but not when copied down?

+

The table range moved as you copied. Lock it with dollar signs, like $A$2:$C$6, so every copy searches the same table.

Why does Excel show my VLOOKUP formula as text?

+

The cell was formatted as Text before you typed the formula. Change the format to General, then click into the cell and press Enter again.

How do I hide #N/A in VLOOKUP?

+

Wrap it in IFNA: =IFNA(VLOOKUP(F2,A2:C6,3,FALSE),"Not found"). Only do this after you check that the missing values are genuinely missing, not caused by spaces or text numbers.

Sources

  • VLOOKUP function - Microsoft Support
  • TRIM function - Microsoft Support
  • IFNA function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. 1. The fourth argument is missing, so the match is approximate
  2. 2. Extra spaces hide in the data
  3. 3. Numbers are stored as text
  4. 4. The lookup value is not in the first column
  5. 5. The table range moves when you copy the formula
  6. 6. The column index number is wrong
  7. 7. The formula shows as text or doesn't update
  8. 8. The value really is missing
  9. Practise it

Keep reading

Tests & careers· 5 min read

VLOOKUP Interview Questions and Answers

VLOOKUP interview questions usually ask you to explain the four arguments, the difference between FALSE (exact match) and TRUE (approximate match), why VLOOKUP returns #N/A or a wrong value, why it can't look left, how to lock the table with $, and when to use XLOOKUP or INDEX MATCH instead. Answer each with a short example.

Lookups· 6 min read

VLOOKUP in Excel: Step-by-Step for Beginners

VLOOKUP finds a value in the first column of a table and returns a value from the same row in another column. Write =VLOOKUP(what to find, table, column number, FALSE). FALSE means exact match, which is what you want for IDs, codes and names. If nothing matches, VLOOKUP returns #N/A.

Errors & fixes· 5 min read

COUNTIF Not Working? Common Causes and Fixes

COUNTIF usually returns 0 or a low count because the criteria doesn't match the cells exactly. The most common causes are extra spaces in the data, numbers stored as text, missing quotes around text or operators, and a cell reference typed inside quotes. Clean the data with TRIM, write criteria like ">="&E1, and use wildcards for partial matches.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free