×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Problem with VLOOKUP

Problem with VLOOKUP

Problem with VLOOKUP

(OP)
I am having an issue when using VLOOKUP
I have a sheet that has players listed. To the left of the name, there is a number drawn that represents the team number they are drawn to. I have a lookup area that looks for each number represented. All formulas work fine with the exception of 2 of them. I have the sort set to false, as the names are based on the order that they sign up so it will not be in ascending order.

I have two sets of formulas for this. One has the first player of the team they are drawn to and the second has the second player drawn. I put a 1 next to the first drawn player and a 101 next to the second team member(I use 101 here due to the fact that 11 would represent 11), and for the rest I use 2 and 22, 3 and 33......., 11 and 1111, 12 and 1212... and so on. THe number structure that I use should not matter in the lookup, or does it?

Here is code:

CODE

=VLOOKUP(5;C$7:D$20;2;0) 
this should find the number 5 and display the name in the column to the right. It does not do this, it displays #N/A
I am uploading the file to see if anyone can find my issue

Any help would be appreciated.

Bam

RE: Problem with VLOOKUP

hi,

Quote:

it displays #N/A
#N/A means that it cannot find the NUMBER 5 in the lookup column.

Are you absolutely certain that the value that you expect to find in the lookup range is a NUMBER 5 and not a CHARACTER 5? BIG DIFFERENCE!!!

Do you have a MIXTURE of NUMBERS and TEXT in lookup column C?

Leading or trailing SPACES in lookup column C???

Skip,

glassesJust traded in my old subtlety...
for a NUANCE!tongue

RE: Problem with VLOOKUP

(OP)
I found the problem. My range was not large enough. Thanks for ideas to make me think :)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close