Solved

Vlookup

Posted on 2013-11-25
3
322 Views
Last Modified: 2013-11-25
I can NEVER get VLOOKUP to work, but my colleague has no issue.  Please see attached file and advise what the heck I am doing wrong.

Thanks.
VLOOKUP.xlsx
0
Comment
Question by:iarkowski
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 81

Accepted Solution

by:
byundt earned 500 total points
ID: 39676004
VLOOKUP wants to find the lookup value in the first column of the lookup table. That would be column B on worksheet Test, suggesting a formula like:
=VLOOKUP(B2,Test!B$2:E$62,4,FALSE)
0
 

Author Closing Comment

by:iarkowski
ID: 39676024
Superb!!!!!
0
 
LVL 81

Expert Comment

by:byundt
ID: 39676028
Breaking the VLOOKUP formula apart:
=VLOOKUP(B2,Test!B$2:E$62,4,FALSE)
Look for the value in B2 in the leftmost column of the lookup table.
The lookup table is in Test!B$2:E$62.
The 4 means you want a value from the fourth column of the lookup table (column E).
The FALSE means that the leftmost column in the lookup table hasn't been sorted. Furthermore, you need an exact match for the value in B2.

If VLOOKUP can't find B2 in the leftmost column of the lookup table, it returns the #N/A! error value. In your original formula, you were looking for B2 in Test column A. It's not there, so VLOOKUP dutifully returned #N/A! as the result.

Another common reason for VLOOKUP failing to return a value would be if B2 is text that looks like a number and Test column B contains numbers. VLOOKUP won't find "5" if Test column B contains 5. The converse is also true.
0

Featured Post

Scamming the Scammers!

Have you ever heard of Scam Baiting?
It's a highly entertaining sport that you can participate in.
Introduction to beating scammers at their own game and how you can help
Share your thoughts, ideas and experiences on the topic.
Links to top Anti-Scam resources provided.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
multiple unique values in different columns 15 37
Pull first name out of cell 2 28
Excel Add-in Subscript out of range 5 32
Error 1004 Excel 2013 11 19
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question