Thread: Vlookup formula
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default 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