+ Reply to Thread
Results 1 to 3 of 3

Vlookup first name out of combined name?

  1. #1
    Registered User
    Join Date
    MS-Off Ver
    Excel 2013

    Vlookup first name out of combined name?

    Hi everyone, could anyone explain to me how to do a vlookup, but when returning a value only returning it up until the " " in the name? So if i were looking up a clients primary contact, i would use the client name to find the match, then when returning the name how do i make it only return his first name?

    Thanks for your help!

    Company | First Name
    Client1 | John Doe

    I would like to return just John from vlooking up client1

  2. #2
    Forum Expert
    Join Date
    The Netherlands
    MS-Off Ver
    Office 365

    Re: Vlookup first name out of combined name?

    In that case why don't split up the data in 2 columns, then you can use VLookup for that.

    Stays the problem if you got 2 name with the same first name:

    e.g. John Doe and John Steel
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru martindwilson's Avatar
    Join Date
    MS-Off Ver
    office 97 ,2007

    Re: Vlookup first name out of combined name?

    =LEFT(VLOOKUP("client1",$A$2:$B$20,2,0),FIND(" ",VLOOKUP("client1",$A$2:$B$20,2,0))-1)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

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


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