Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Vlookup formula
Hi, Hope someone can help with this.. If range A:A contained First Names and range B:B contained Surnames and I wanted to find the surname of the person in column A I would use.. =VLOOKUP("John",A:B,2,false) Which would return Smith is there a way to search for Smith and find the result John? Thanks John -- johncassell ------------------------------------------------------------------------ johncassell's Profile: http://www.excelforum.com/member.php...o&userid=25016 View this thread: http://www.excelforum.com/showthread...hreadid=512262 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Vlookup formula
=index(a:a,match("smith",b:b,0))
You may want to read Debra Dalgleish's notes: http://www.contextures.com/xlFunctions02.html (for =vlookup()) and http://www.contextures.com/xlFunctions03.html (for =index(match())) johncassell wrote: Hi, Hope someone can help with this.. If range A:A contained First Names and range B:B contained Surnames and I wanted to find the surname of the person in column A I would use.. =VLOOKUP("John",A:B,2,false) Which would return Smith is there a way to search for Smith and find the result John? Thanks John -- johncassell ------------------------------------------------------------------------ johncassell's Profile: http://www.excelforum.com/member.php...o&userid=25016 View this thread: http://www.excelforum.com/showthread...hreadid=512262 -- Dave Peterson |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Vlookup formula
Excellent, thanks a lot for that Dave. Much appreciated. Thanks again John -- johncassell ------------------------------------------------------------------------ johncassell's Profile: http://www.excelforum.com/member.php...o&userid=25016 View this thread: http://www.excelforum.com/showthread...hreadid=512262 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VLOOKUP & Dates: Why is this Formula working? | Excel Worksheet Functions | |||
VLOOKUP result is not showing up - only the formula | Excel Worksheet Functions | |||
IF / VLOOKUP formula won't work until saved | Excel Worksheet Functions | |||
What can I add to a vlookup formula to give me a 0 not #n/a | Excel Worksheet Functions | |||
IF & VLOOKUP FORMULA | Excel Worksheet Functions |