+ Reply to Thread
Results 1 to 6 of 6

VLOOKUP not yielding the correct data

  1. #1
    Registered User
    Join Date
    03-22-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    51

    VLOOKUP not yielding the correct data

    I have two tables set up. Each on a separate tab. When I set up the lookup, I clicked over to the other tab and highlighted the fields I had on the table, finished the formula and hit enter. I went back and it worked correctly. Where I have run into problems now is when I entered more information on the tables. The formula is the exact same in each cell (referencing the name of the table rather than the corresponding cell reference).

    The formula seems to work properly with each row, it doesn't return and N/A. Instead it returns the last few characters of the cell I need. For example, I have two lines in the lookup table that are the same thing but end with a " - Blue" or " - White"

    The formula returns "Blue" and "White" instead of "xxxxxxx - Blue" or "xxxxxxx - White"

    I'm at a loss here.

  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,959

    Re: VLOOKUP not yielding the correct data

    Hard to say without seeing a sample of what you are working with, can up upload a small clean sample?
    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
    Registered User
    Join Date
    03-22-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    51

    Re: VLOOKUP not yielding the correct data

    Does this work?
    Attached Files Attached Files

  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,959

    Re: VLOOKUP not yielding the correct data

    Your formula is working perfectly - your row hight (or column width...take your pick) needs to be increased

  5. #5
    Registered User
    Join Date
    03-22-2014
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    51

    Re: VLOOKUP not yielding the correct data

    Goodness. It's always the simplest things you overlook.

    Thank you

  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,959

    Re: VLOOKUP not yielding the correct data

    yup, it almost always is, been there, done that lol

    Glad we got it sorted out for you

+ 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. Replies: 10
    Last Post: 12-31-2013, 12:49 PM
  2. Replies: 3
    Last Post: 03-27-2012, 07:06 PM
  3. formula not yielding value from vlookup
    By vislavti in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-31-2011, 01:28 PM
  4. Excel 2007 : Vlookup not bringing back correct data
    By voviedo in forum Excel General
    Replies: 2
    Last Post: 01-26-2010, 11:27 AM
  5. Multiple Vlookup Formulas to get data from correct table
    By JAMES4228 in forum Excel General
    Replies: 3
    Last Post: 07-14-2009, 07:18 AM

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