+ Reply to Thread
Results 1 to 5 of 5

Vlookup function not working if alphabet coming after '-' in the search term

  1. #1
    Registered User
    Join Date
    11-15-2007
    Posts
    2

    Vlookup function not working if alphabet coming after '-' in the search term

    Hi,

    For some datas like,C-D1883,L-E2314 Vlookup is not working
    I these case after the '-', a alphabet is coming.
    In this cases 'VLookup' not working.
    What will i do in these cases.
    Please reply

    Thanks,
    Eler

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Vlookup function not working if alphabet coming after '-' in the search term

    Please post your formula so we'll see what you're working with.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    11-15-2007
    Posts
    2
    VLookup(C-D1883, B2:F2334, 4, True)
    This is the formula.I want to retreive the data in the 4th column.

    Regards,
    Eler

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    The Vlookup value should probably be in quotes as such....

    =VLookup("C-D1883", B2:F2334, 4, True)
    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.

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Your VLOOKUP has a final argument of TRUE. If you only want an exact match change to FALSE. If you leave the formula as it is B2:B2334 should be sorted ascending

+ 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