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
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.
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.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Ah...the wildcard!....I got to kick myself
I was trying Vlookup and Match but wildcard didn't come to mind
Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks