+ Reply to Thread
Results 1 to 7 of 7

Excel Help Vlookup

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    Langley, Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Excel Help Vlookup

    Hello, I am in dire need of some help regarding the Vlookup.

    I have tried to compile a worksheet that when my coworker inputs a "short code" for the product the description would automatically populate. Thereby saving a considerable amount of time and frustration.

    So thus far I have the description cell with the function as follows, =VLOOKUP(Sheet1!$F16,Sheet6!A1:B50698,1,FALSE)

    I am trying to reference the adjacent "code" cell and have the "description" cell then populate according to the data inputted.



    Attached is the document simplified. Currently I am getting a #NA in the cell.

    I thank you for your time with this matter as it has been a pain in the rear..
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Excel Help Vlookup

    Hi and welcome to the forum

    Try this instead...
    =INDEX(Sheet6!$A:$A,MATCH(Sheet1!$F16,Sheet6!$B:$B,0),1)

    vlookup cannot return values to the left of what you are looking for...it cannot look "behind itself"
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: Excel Help Vlookup

    Hi,

    If you look at the changes I've made to your spreadsheet this should help you?

    If you have any more queries just give me a shout.

    Snook
    Attached Files Attached Files
    Last edited by The_Snook; 05-09-2013 at 02:08 PM.

  4. #4
    Registered User
    Join Date
    05-09-2013
    Location
    Langley, Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Excel Help Vlookup

    Thank you very much, I have tried to research this error i have made on this forum and have resorted to just asking. I thank you sincerely, this has made my day.

  5. #5
    Registered User
    Join Date
    05-09-2013
    Location
    Langley, Canada
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Excel Help Vlookup

    Thank you very much Snook, this was a huge help as well. I owe you both big time.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Excel Help Vlookup

    Snook's suggestion of changing the columns around in sheet2 will work just fin in this situation But there will be times when swapping columns around is not practical/possible - thats the time you will need to learn how to use the index/match that i suggested

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Excel Help Vlookup

    Happy to help and thanks for the feedback

+ 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