-1

i am having a problem with the lookup function in excel. i need to look through a column and get a return value from data in the same row but column to the right.

ie

1 | bob |
3 | jim |
7 | lis |

i want to search for the value 1 then return the name bob

Thanks for the help!

WIll
  • 45
  • 6

2 Answers2

1

=VLOOKUP(1,A:B,2,FALSE)

Go into help file and read about VLOOKUP for more details.

bushell
  • 560
  • 3
  • 10
0

Rather than use vlookups, Index, Match is recommended. Here is a great explanation. http://www.mbaexcel.com/excel/why-index-match-is-better-than-vlookup/

The formula to find the name associate with "1" becomes:

=INDEX(B:B,MATCH(1,A:A,0))
Ken
  • 1,156
  • 1
  • 6
  • 8