+ Reply to Thread
Results 1 to 3 of 3

Lookup Function for Alpha-numeric Text

  1. #1
    Registered User
    Join Date
    06-27-2008
    Location
    USA
    Posts
    4

    Cool Lookup Function for Alpha-numeric Text

    I am attempting to lookup values from one worksheet and populate a few fields on a different worksheet within the same workbook. Our code is a six digit alpha-numeric code, indexed. I have created a large pivot table, which has all the detailed data I require in worksheet 1. I would like, however, to cross reference and add three columns of demographic information from worksheet 2. I plan to add the three columns one by one.

    I tried this VLOOKUP formula: =VLOOKUP(A6,Worksheet2!$A$1:$Q$8867,Worksheet2!$L$2:$L$8867,FALSE)

    My results are either #N/A (which I believe to mean that there is not a data match, this is OK) or #REF! (which I know means I messed up somewhere). I have almost 1000 lines of data, so I don't want to type in the six digit code each time for the text lookup.

    Suggestions appreciated! Thanks!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    =VLOOKUP(A6,Worksheet2!$A$1:$Q$8867,Worksheet2!$L$2:$L$8867,FALSE)

    the part in red should be a number representing the column number to get the corresponding data from....
    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.

  3. #3
    Registered User
    Join Date
    06-27-2008
    Location
    USA
    Posts
    4

    Talking Thank You!

    Wow, you just hit the "Easy" button on that one! Thanks, I had been struggling on that formula !

+ 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