#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
johncassell
 
Posts: n/a
Default 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   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
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
johncassell
 
Posts: n/a
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLOOKUP & Dates: Why is this Formula working? Ali Excel Worksheet Functions 1 January 18th 06 01:37 PM
VLOOKUP result is not showing up - only the formula Linda Excel Worksheet Functions 10 December 21st 05 06:37 AM
IF / VLOOKUP formula won't work until saved tawtrey(remove this )@pacificfoods.com Excel Worksheet Functions 2 August 4th 05 11:55 PM
What can I add to a vlookup formula to give me a 0 not #n/a Casper Excel Worksheet Functions 4 July 5th 05 05:32 AM
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM


All times are GMT +1. The time now is 04:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"