+ Reply to Thread
Results 1 to 7 of 7

Need Help with Vlookup

  1. #1
    Registered User
    Join Date
    08-19-2013
    Location
    Montreal
    MS-Off Ver
    Excel 2010
    Posts
    2

    Exclamation Need Help with Vlookup

    Hello,

    I am trying to use the Vlookup Function to pull the TGC code to give the right value in the Description cells. The TGC code is taken from Model sheet, column product number and the description cell should show the corresponding value in the model column of the Model sheet. Even though Ive put everything ascending and tried the range false, the value is isn't correct... what should I do?

    Thank you,
    liisock
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Need Help with Vlookup

    You probably need to use FALSE (or 0) as the 4th argument in your vlookup

    =VLOOKUP($B$32,PRODUCTS,3,FALSE)

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Need Help with Vlookup

    d32=VLookup($B$32,PRODUCTS,3,0)

    This gives the result N/A, since the productcode is not in the table.

    You can prefent that by working with data-validation.
    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.

  4. #4
    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,938

    Re: Need Help with Vlookup

    you left off the last part....

    =VLOOKUP($B$32,PRODUCTS,3,0)
    and that number doesnt exist in your list, so it will return an error
    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

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,732

    Re: Need Help with Vlookup

    You have defined your PRODUCTS as being columns A to L in the Model sheet, but the codes that you are using for your VLOOKUP are in column B of that sheet. So, using Name Manager, change the range for that name in the Refers to box to:

    =Model!$B$1:$L$311

    You will also need to change the formula in D32 of the Blizzard sheet to this:

    =VLOOKUP($B32,PRODUCTS,2,0)

    and this will allow you to copy it down if you have other codes.

    Hope this helps.

    Pete

  6. #6
    Registered User
    Join Date
    08-19-2013
    Location
    Montreal
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Need Help with Vlookup

    I made the changes and yes, I've typed the wrong product code but even if I put the right one 4211B101 and I add the zero...nothing changes. I still get the same error

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,732

    Re: Need Help with Vlookup

    You probably started replying before I posted mine - see the comments relating to your named range.

    Pete

+ 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. [SOLVED] Vlookup is not working and giving =vlookup(B2,$T$2:$U$135,2,false) this kind of values.
    By yogeshsharma1981 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2013, 04:08 PM
  2. how to bring all vlookup returns even with duplicate vlookup search keys
    By NYC4LIFE in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-06-2013, 04:53 PM
  3. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  4. Replies: 5
    Last Post: 07-29-2009, 07:53 AM
  5. 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

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