+ Reply to Thread
Results 1 to 3 of 3

Vlookup formula

  1. #1
    Forum Contributor
    Join Date
    07-07-2005
    Location
    England
    MS-Off Ver
    Office 2019 Enterprise
    Posts
    473

    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

  2. #2
    Dave Peterson
    Guest

    Re: 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. #3
    Forum Contributor
    Join Date
    07-07-2005
    Location
    England
    MS-Off Ver
    Office 2019 Enterprise
    Posts
    473
    Excellent, thanks a lot for that Dave. Much appreciated.

    Thanks again

    John

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1