+ Reply to Thread
Results 1 to 5 of 5

VLOOK UP Problem

  1. #1
    Registered User
    Join Date
    07-17-2012
    Location
    Port chester, New York
    MS-Off Ver
    Excel 2007
    Posts
    10

    VLOOK UP Problem

    I am trying to do a Vlook up of costs using the "Margin INV file" and trying to match the prices in the "View all items code flle". The problem I am running into is that the item codes are mixture of numbers and letters, so the vlook doesn't really work properly. I have been unseccessfully trying to figure this out for more than an hour. Can someone please shed some light no how to do this.

    Thanks

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

    Re: VLOOK UP Problem

    You dindn't add the desired answer.

    In yellow the formula.

    In blue the ansers (whitout formula).
    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.

  3. #3
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: VLOOK UP Problem

    Not sure exactly what you're trying to do, but my guess is you need to fut the ",FALSE" argument into the formula to make it look for exact matches and ignore the order of your data.

  4. #4
    Registered User
    Join Date
    07-11-2012
    Location
    'Merica
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: VLOOK UP Problem

    I took a look at your file and am still uncertain what you want to do here. You do not have any actual prices in the View Items by Ad Code file, just a column where you intend to put them so what are you matching?. V Lookup sould not have an issue due to the letters and numbers though.

    From what you showed me I took a guess that you want to put the v lookup of the cost in column D of the View Items file based on item number in column A with your data range in the Margin INV Cost file.

    The formula I used is VLOOKUP(A2, '[Margin_INV_Costs(1).xlsx]Sheet1'!$A:$C,3,0)

    Then in price I just multipled the value in cost by the Sum of Order_QTY or C*D.

    In the instances where the formula returns #N/A it seems that the item numbers cannot be found in the Margin INV Costs. I tried to clear all spaces from the Margin INV table as well as the View Items table and do a find on the item number. In instances when a cost was returned the item number was found and in instances when it was not, the item number could not be found.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: VLOOK UP Problem

    I used this formula:

    =VLOOKUP(A2,[Margin_INV_Costs.xlsx]Sheet1!$A:$C,3,0)

    copied down.

    The one's that return #N/A I don't see matches for? Do you?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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