+ Reply to Thread
Results 1 to 5 of 5

VLookup + Find

  1. #1
    Registered User
    Join Date
    07-12-2013
    Location
    toronto, canada
    MS-Off Ver
    Excel 2007 & MAC excel 2011
    Posts
    46

    VLookup + Find

    Hello All, I have a vlookup that works if I am looking up a vendor name from a cell and searching another file to return the vendor owners name, but it does not work if the vendor name as anything else in the cell ie. (formerly ....), i tried to use the left function but then it does not work at all



    Lookup vendor file

    Vendor Active / Inactive Notes "Primary Renewal Month" Owner
    Accuity (formerly
    Safe Banking Systems) Inactive 06 - June Mary


    Please Login or Register  to view this content.

  2. #2
    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,064

    Re: VLookup + Find

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    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

  3. #3
    Registered User
    Join Date
    07-12-2013
    Location
    toronto, canada
    MS-Off Ver
    Excel 2007 & MAC excel 2011
    Posts
    46

    Re: VLookup + Find

    Thank you, attached sample vendor file which has the vendor and in column 5 it has the vendor owner, on another sheet I have a cell A4 which I type in the vendor name and it B4 the vlookup to return the vendor Owner name.

    What works: if I use the below vlookup for vendor ActivePDF as per sample it will find it

    What does not work: if I lookup Accuity it will not find it - returns #n/a, so I tried the 2nd vlookup with left function it still does not find it, I get a #VALUE! error

    =VLOOKUP(A4,'[DSAM Vendor assignments.xlsx]Vendor Assignments'!$A:$E,5,FALSE)

    =VLOOKUP(LEFT(A4,FIND(" ",A4)-1),'[DSAM Vendor assignments.xlsx]Vendor Assignments'!$A:$E,5,FALSE)
    Attached Files Attached Files

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: VLookup + Find

    Perhaps =VLOOKUP("*"&A4"*",'[DSAM Vendor assignments.xlsx]Vendor Assignments'!$A:$E,5,FALSE)

  5. #5
    Registered User
    Join Date
    07-12-2013
    Location
    toronto, canada
    MS-Off Ver
    Excel 2007 & MAC excel 2011
    Posts
    46

    Re: VLookup + Find

    Quote Originally Posted by Pepe Le Mokko View Post
    Perhaps =VLOOKUP("*"&A4"*",'[DSAM Vendor assignments.xlsx]Vendor Assignments'!$A:$E,5,FALSE)
    Thank you Pepe, that work well after I added an & after a4, much appreciated

+ 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. Using Match and Vlookup to find the lookup range for a Vlookup
    By locopete999 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2017, 09:09 AM
  2. Replies: 3
    Last Post: 12-04-2014, 01:27 PM
  3. Replies: 0
    Last Post: 12-26-2013, 01:12 PM
  4. Replies: 1
    Last Post: 12-17-2012, 08:00 PM
  5. Using VLOOKUP to find multiple occurrences and find the Total quantity
    By susanpa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-30-2009, 09:54 AM
  6. Replies: 4
    Last Post: 10-18-2006, 12:25 PM
  7. vlookup function-Can vlookup command find the data from the 5 sheets.
    By Rishab shah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

Tags for this Thread

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