+ Reply to Thread
Results 1 to 3 of 3

Vlookup returning random numbers

  1. #1
    Registered User
    Join Date
    10-18-2007
    Posts
    89

    Question Vlookup returning random numbers

    Good Morning,

    I have created the attached spreadsheet to be used as a template that would get data pasted into it. The goal is to have the user paste in data in to cells A through G. Then based on that the right hand side of the template (H-L) will calculate how many cases, layers and pallets of product to order based on the figures in the Weight_table. right now it appears that the Vlookup will not find the proper data. Is there a flaw in the way that I have written it? If the weight (Colomn H) is not in the Weight_Table I am ok with "#N/A" being the result, but that is not always happening.

    Thanks in advance for any help/insight you can offer

    -James
    Attached Files Attached Files
    Last edited by jamesstorx; 06-24-2011 at 12:06 PM. Reason: Solved

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Vlookup returning random numbers

    Set the last argument of the vlookup to 0 (right now you are not using the last argument).
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Registered User
    Join Date
    10-18-2007
    Posts
    89

    Re: Vlookup returning random numbers

    That worked perfect, thanks for your help.

+ 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