View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
ELeigh ELeigh is offline
external usenet poster
 
Posts: 5
Default VLookup Pulling Data from one row above

Hi guys-I have done both of those things, sorted by alpha ascending and
anchoring with dollar signs, and it still pulls incorrectly. Thanks for the
suggestions though.

"dhstein" wrote:

=VLOOKUP(A1,$A$1:$B$3,2)
Anchor the lookup range with the dollar signs - otherwise the lookup range
moves as the formula moves

"ELeigh" wrote:

Hello-I am trying to use vlookup to return age, based on name. Here's what I
have:
A B
1 Jones 35
2 Smith 42
3 Charles 50

I use Vlookup (a1(from other sheet), $a$1:$bB3, 2). I can't use False
because the names are slightly different in sheets 1 and 2 (some have middle
names, nicknames, etc). The problem is that it is returning the data from one
row above instead of the correct row. i.e. if I vlookup Smith, I get the age
35.

What am I doing wrong? Thanks!