+ Reply to Thread
Results 1 to 9 of 9

vlookup with mixed numbers and letters

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    US
    MS-Off Ver
    2007
    Posts
    35

    vlookup with mixed numbers and letters

    I have two columns which look like this:

    A B
    1 DA111 Sarah.a
    2 DA444 John.b

    I will write names to column C from different file.
    I want cell C to find exact name match in column B and if matched enter it's code from column A.

    So i wrote my formula like this =VLOOKUP(C1;A:B;1;FALSE)

    It gives me error of course because of mixed letters/numers. How can i fix it?

  2. #2
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: vlookup with mixed numbers and letters

    =IFERROR(INDEX(A1:A???,Match(C1,B1:B???,0)),"NO MATCH")...where ??? is the last row of your code/name data.

  3. #3
    Registered User
    Join Date
    04-14-2015
    Location
    US
    MS-Off Ver
    2007
    Posts
    35

    Re: vlookup with mixed numbers and letters

    Columns A and B and with fixed data.
    Column C is where i will enter new data.
    Column D is where I want the vlookup to work from C to B if matched - get data from A.

  4. #4
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: vlookup with mixed numbers and letters

    Hi rolex

    It is always a better option to upload the sample workbook...you will get reply faster...

    Post a WORKBOOK. Nobody wants to type data from a picture or paste text from your post into a spreadsheet as a prelude to helping. To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.
    Lokesh Kumar
    Stay Hungry.. Stay Foolish..
    _________________________________________________________
    Please Click STAR to Add Reputation if my/someone's answer helped!

  5. #5
    Registered User
    Join Date
    04-14-2015
    Location
    US
    MS-Off Ver
    2007
    Posts
    35

    Re: vlookup with mixed numbers and letters

    This is the workbook
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: vlookup with mixed numbers and letters

    For sample...
    Please Login or Register  to view this content.
    Last edited by jhren; 04-16-2015 at 08:15 AM.

  7. #7
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: vlookup with mixed numbers and letters

    Hi,
    I have also added some data on sheet 2....
    check which solution work for me......
    here is your attachment....Example.xlsx

    If there are other things you want to ask please feel free......

  8. #8
    Registered User
    Join Date
    04-14-2015
    Location
    US
    MS-Off Ver
    2007
    Posts
    35

    Re: vlookup with mixed numbers and letters

    thanks, it worked!

  9. #9
    Forum Contributor LokeshKumar's Avatar
    Join Date
    03-31-2015
    Location
    India
    MS-Off Ver
    All, mostly 2010 now..
    Posts
    471

    Re: vlookup with mixed numbers and letters

    If your question is resolved, mark it SOLVED using the thread tools. Click on the star if you think some-1 helped 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. [SOLVED] Vlookup not working as letters and numbers
    By katieshields in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-21-2014, 09:28 PM
  2. Replies: 4
    Last Post: 03-20-2014, 01:39 PM
  3. VLookup on numbers and letters
    By cleetus in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-09-2013, 01:36 PM
  4. VLOOKUP with Numbers AND Letters
    By dkgolfer39 in forum Excel General
    Replies: 6
    Last Post: 07-23-2010, 01:05 PM
  5. Sort mixed numbers/letters
    By V-ger in forum Excel General
    Replies: 1
    Last Post: 11-14-2005, 06:55 PM

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