+ Reply to Thread
Results 1 to 11 of 11

Vlookup first 3 letters and last 3 letters

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

    Vlookup first 3 letters and last 3 letters

    Formula on g1 to look i1 , first 3 letters which is ABBA , if it finds on column A , then it should plug the word ABB , if it not finds should leave blank

    Formula on g1 to look i1 , last 3 letters which is ABBA , if it finds on column A , then it should plug the word BBA , if it not finds should leave blank
    Attached Files Attached Files

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

    Re: Vlookup first 3 letters and last 3 letters

    How do you move a thread to formulas section ?

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Vlookup first 3 letters and last 3 letters

    By magic - look, it's done!
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: Vlookup first 3 letters and last 3 letters

    Thank you AliGW

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Vlookup first 3 letters and last 3 letters

    2nd one required in G1 or H1
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

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

    Re: Vlookup first 3 letters and last 3 letters

    definitely h1 , I meant

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

    Re: Vlookup first 3 letters and last 3 letters

    string vlookup looks like that i dont know how to write

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Vlookup first 3 letters and last 3 letters

    Try

    =LEFT(I1,3)

    =RIGHT(I1,3)

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Vlookup first 3 letters and last 3 letters

    Hi there! Good to "see" you again!

    In G1:

    =IF(ISNUMBER(MATCH(LEFT(I1,3),$A$1:$A$1341,0)),LEFT(I1,3),"")

    In H1:

    =IF(ISNUMBER(MATCH(RIGHT(I1,3),$A$1:$A$1341,0)),RIGHT(I1,3),"")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

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

    Re: Vlookup first 3 letters and last 3 letters

    Glenn , Thank you very much , many time you make my day beautiful

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Vlookup first 3 letters and last 3 letters

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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] Not differentiating between capital letters and lower case letters
    By Eliot Y in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-22-2015, 11:13 AM
  2. Replies: 13
    Last Post: 07-30-2014, 12:03 PM
  3. [SOLVED] Reading the last 2 letters in a combobox value and enter those 2 letters into column
    By emilyloz in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-26-2013, 09:26 AM
  4. Replies: 5
    Last Post: 12-30-2012, 10:59 AM
  5. Replies: 2
    Last Post: 12-01-2010, 02:29 PM
  6. Macro for creating letters to UPPER letters
    By zbor in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-07-2009, 04:47 AM
  7. How to sort Single Letters before Double Letters
    By jabberdoo in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-09-2008, 12:18 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