+ Reply to Thread
Results 1 to 3 of 3

Lookup on Part of Lookup Array

  1. #1
    Registered User
    Join Date
    12-16-2006
    Location
    Bangkok
    MS-Off Ver
    Excel 2003
    Posts
    98

    Lookup on Part of Lookup Array

    Hi

    Assuming 1st row is a header row

    Sheet1, Column A

    1230000_XL07 - WB OPS
    1230001_XL08 - WB OPS
    1230002_XL09 - WB OPS


    Sheet 2, Column A

    1230000

    How do I lookup 1230000 and return 1230000_XL -07 WB OPS in B2

    TIA
    Last edited by franciz; 02-21-2009 at 08:45 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Lookup on Part of Lookup Array

    Perhaps:

    Sheet2!B2:
    =VLOOKUP($A2&"*",Sheet1!$A:$A,1,0)

    EDIT:

    if A2 will always be followed by _ then you could alter slightly to make a little more watertight given use of * (wildcard), ie:

    =VLOOKUP($A2&"_*",Sheet1!$A:$A,1,0)
    Last edited by DonkeyOte; 02-21-2009 at 08:27 AM.

  3. #3
    Registered User
    Join Date
    12-16-2006
    Location
    Bangkok
    MS-Off Ver
    Excel 2003
    Posts
    98

    Re: Lookup on Part of Lookup Array

    Ah...the wildcard!....I got to kick myself
    I was trying Vlookup and Match but wildcard didn't come to mind

    Thanks

+ 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