+ Reply to Thread
Results 1 to 4 of 4

Lookup

  1. #1
    Registered User
    Join Date
    05-17-2011
    Location
    Dublin
    MS-Off Ver
    Excel 2007
    Posts
    38

    Lookup

    Hi,

    I m trying to find a surname within a field, the field length changes, to bring up a number related to the employee (EE), from a different column

    I am typing the EE surname on the Vlookup formula "Smith", from Column 2 and asking to bring the number from Column 4

    Is there another way to make this quicker within the formula

    Many thanks,
    J

  2. #2
    Registered User
    Join Date
    05-17-2011
    Location
    Dublin
    MS-Off Ver
    Excel 2007
    Posts
    38

    Re: Lookup

    See file attachedFormulafinding.xlsx

    See file attached
    Last edited by josvill; 10-05-2016 at 09:04 AM. Reason: attaching file

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Lookup

    In C6, copied down
    =VLOOKUP(TRIM(RIGHT(SUBSTITUTE(TRIM(A6)," ",REPT(" ",50)),50)),LookupNames,3,0)

    You misspelled Donovan (Donova) in CompanyA E7 (I added an N in caps..) Try to avoid trailing spaces (e.g at the end of A6, where there are two).
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Lookup

    If you have NO leading/trailing spaces (much better!!) the formula above can be changed to:

    =VLOOKUP(TRIM(RIGHT(SUBSTITUTE(A6," ",REPT(" ",50)),50)),LookupNames,3,0)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Two Lookup and Return (Lookup the column, then lookup the row)
    By Branbran10 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-05-2015, 04:55 PM
  2. Replies: 4
    Last Post: 05-19-2015, 08:42 PM
  3. Replies: 3
    Last Post: 04-08-2014, 03:11 AM
  4. Replies: 2
    Last Post: 05-19-2013, 08:46 AM
  5. Replies: 1
    Last Post: 11-07-2012, 01:57 PM
  6. Search lookup array to find lookup value contained within text string
    By Cookstein2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-02-2011, 09:42 AM
  7. Replies: 7
    Last Post: 06-19-2011, 12:51 PM

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