+ Reply to Thread
Results 1 to 3 of 3

VLOOKUP with LEFT function

Hybrid View

nislam123 VLOOKUP with LEFT function 04-02-2013, 04:52 PM
daddylonglegs Re: VLOOKUP with LEFT function 04-02-2013, 04:54 PM
nislam123 Re: VLOOKUP with LEFT function 04-02-2013, 05:03 PM
  1. #1
    Registered User
    Join Date
    03-31-2013
    Location
    Washigton DC
    MS-Off Ver
    Excel 2010
    Posts
    7

    VLOOKUP with LEFT function

    I want to match first six characters of "Lookup Value" with the first six character of the "Table-Array" and could not write the formulae.
    The first portion LEFT($A22,6) worked fine, it reads the first six character of the Lookup value, but the second portion (LEFT('UZA-MPO'!$E$2:$P$500,6) is not working. I think I am not writing it correctly. Please help me.
    Best!

    =IF(A22="","-",VLOOKUP(LEFT($A22,6),LEFT('UZA-MPO'!$E$2:$P$500,6),2,FALSE))

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,698

    Re: VLOOKUP with LEFT function

    Try using a "wildcard" like this

    =IF(A22="","-",VLOOKUP(LEFT($A22,6)&"*",'UZA-MPO'!$E$2:$P$500,2,FALSE))
    Audere est facere

  3. #3
    Registered User
    Join Date
    03-31-2013
    Location
    Washigton DC
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: VLOOKUP with LEFT function

    Thanks; it works

+ 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