+ Reply to Thread
Results 1 to 3 of 3

Vlookup with Left function help!

  1. #1
    Registered User
    Join Date
    01-06-2014
    Location
    Miami, Florida
    MS-Off Ver
    Excel 2010
    Posts
    5

    Exclamation Vlookup with Left function help!

    Need help with a vlookup and left function. Tried both formulas below but still get NA error.

    Column A has :

    123456 cellA1
    223456 cellA2
    445678 cellA3
    667898 cellA4

    column D has:
    223 cellD1


    =VLOOKUP(LEFT(D1,3),$A$1:$A$4,1,0)

    =VLOOKUP(--LEFT(D1,3),$A$1:$A$4,1,0)

    Attached is a sheet to show example
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Vlookup with Left function help!

    Try this array formula entered with CTRL + SHIFT + ENTER

    =INDEX($A$1:$A$4,MATCH(LEFT(D1,3),LEFT($A$1:$A$4,3),0))

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Vlookup with Left function help!

    Or this
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ***Array formula
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.
    You will know the array is active when you see curly braces { } appear around your formula.
    If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. Can I use LEFT function in VLOOKUP?
    By greyscale in forum Excel General
    Replies: 9
    Last Post: 06-03-2021, 09:55 AM
  2. [SOLVED] Left function on VLookup
    By Groovicles in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-20-2015, 11:44 AM
  3. [SOLVED] VLOOKUP with LEFT function
    By nislam123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-02-2013, 05:03 PM
  4. vlookup with left function
    By bronkista in forum Excel General
    Replies: 5
    Last Post: 06-22-2011, 04:09 PM
  5. Using VLookup with Left function
    By dcaraher in forum Excel General
    Replies: 2
    Last Post: 01-13-2011, 12:31 PM
  6. VLOOKUP w/ LEFT Function
    By AlanH in forum Excel General
    Replies: 10
    Last Post: 12-07-2009, 08:12 PM
  7. Vlookup and left function
    By Corey Osborn in forum Excel General
    Replies: 3
    Last Post: 03-23-2006, 02:40 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