+ Reply to Thread
Results 1 to 15 of 15

Thread: Vlookup help

  1. #1
    Registered User
    Join Date
    01-12-2012
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    12

    Vlookup help

    Hi there:

    I am using a Vlookup and for some reason, it returens some values, but not others? I can clearly see the data in the other file, but my Vlookup is only worlking on some cells? IS ist a cell formatting issue?

  2. #2
    Registered User
    Join Date
    01-30-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Vlookup help

    make sure you make your range static instead of dynamic e.g. =vlookup(A1,$B$1:$D$20,2,false). The dollar signs make the range not move as you drag your vlookup.

  3. #3
    Registered User
    Join Date
    01-12-2012
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Vlookup help

    did, that, thanks. still have the same issue

  4. #4
    Registered User
    Join Date
    01-30-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Vlookup help

    if you use false it will look for full matches, true will look for partial matches. If you're using false and there isn't an exact match, it won't return a result. Can you post an example of your spreadsheet?

  5. #5
    Registered User
    Join Date
    01-12-2012
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Vlookup help

    It's work related and proprietary, unfortunately

  6. #6
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Vlookup help

    Check for extra spaces etc.. that might make it inexact matches.

    Also if you are looking up numbers, then are the numbers properly formatted the same in the both the lookup value and the lookup table.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  7. #7
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,297

    Re: Vlookup help

    Hi

    Don't you think that is the time to upload a sample workbook????
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  8. #8
    Registered User
    Join Date
    01-12-2012
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Vlookup help

    example.xlsx

    here's an example. the N/A's are where the vloopup is not being returned.

  9. #9
    Registered User
    Join Date
    01-30-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Vlookup help

    upload a sample of your current workbook with the vlookup, but sanitize the data with ctrl+h

  10. #10
    Registered User
    Join Date
    01-12-2012
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Vlookup help

    I'll do 2: a workbook with the 2 columns fullof data, and another with the 1 column and where I am doing the vlookup

  11. #11
    Registered User
    Join Date
    01-12-2012
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Vlookup help


  12. #12
    Registered User
    Join Date
    01-30-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Vlookup help

    so this example is what is happening to you?scottrotondo_example.xlsx

  13. #13
    Registered User
    Join Date
    01-12-2012
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Vlookup help

    Yes. Sheet 1 has 2 columns of data. I am trying to do a vlookup in sheet 2, where the first column is populated, and I want to get the data from sheet 1, column 2. As you can see, some data comes over, but not all. Could the cells be formatted oddly??

  14. #14
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Vlookup help

    in raystafarian's sample, try:

    =VLOOKUP(A1&"",Sheet1!$A$1:$B$2963,2,FALSE)

    copied down.

    You have formatting differences (numbers are numbers in current sheet, but are text in Sheet1).
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  15. #15
    Registered User
    Join Date
    01-12-2012
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Vlookup help

    THANK YOU guys soooo much!!! Worked perfetly!

+ 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.2.0