+ Reply to Thread
Results 1 to 3 of 3

vlookup first 7 character

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    vlookup first 7 character

    I have this on b2

    TR-0217/KT-0233

    and i have this on m and n

    TR-0217 AQUARIUS

    My formula on J below not works

    =VLOOKUP(B2,M:N,2,FALSE)

    I want the vlookup to look 7 character thus then give me result AQUARIUS instead of plugging #N/A

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: vlookup first 7 character

    Try this.


    =VLOOKUP(LEFT(B2,7),M:N,2,FALSE)
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: vlookup first 7 character

    Wow Norie that was fast

+ 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: 7
    Last Post: 10-18-2016, 09:11 PM
  2. vlookup : match until a certain character is found
    By nickyboy1981 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-14-2016, 03:59 PM
  3. Unable to get the Vlookup Property .... class - Issue with Character / Numeric comparison
    By vidyuthrajesh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-17-2014, 03:08 PM
  4. How to vlookup a Column contain special character and replace it?
    By miraclesuki in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-22-2013, 05:03 PM
  5. [SOLVED] Use vlookup only for first 41 character.
    By visha_1984 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-18-2013, 04:37 AM
  6. How To Get Vlookup To Ignore A Character
    By mightyeskimo in forum Excel General
    Replies: 2
    Last Post: 03-03-2012, 12:56 PM
  7. vlookup,replace word with single character
    By vascott01 in forum Excel General
    Replies: 6
    Last Post: 03-05-2010, 09:04 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