Yes! Thanks much. It's not always the middle, so this worked great.
"N Harkawat" wrote:
Name a range "mso" for the range in sheet 1 for the mso # say from A1:a1000
then on sheet 2 cell B1 enter this formula and copy it down
=INDEX(Sheet1!$B$1:$B$1000,MATCH(1,COUNTIF(A1,"*"& mso&"*"),0))
array entered (ctrl+shift+enter)
where B1:b1000 on sheet 1 are the order
and your trkcase is on sheet2 from A1 downwards
"Alex" wrote in message
...
I need help with the a vlookup formula that needs to use wildcards.
Sheet 1 has the following columns:
MSO# ORDER
NQCT8 111
NQCT8 222
NQFH4 333
NQFJ6 444
NQXF0 555
Sheet 2 has the following columns:
TRKCASE ORDER
JVB65/NQXFO/Z1R09148 555
JVB65/NQCT8/Z1K05629 222
JVB65/NSTB4/Z1R09145
JVB65/NTDZ9/84EX00053
JVB65/NTZS1/Z1K05424
I need a vlookup function in the ORDER column in Sheet 2 that will look to
see if the TRKCASE in the same line matches any of the MSO#'s in Sheet1
and
if so, enter the ORDER # from Sheet 1. What's confusing me is that the
MSO#
from Sheet 1 will be inside TRKCASE. I've included what ORDER #'s should
end
up in the ORDER column in Sheet 2.
I appreciate the help. Thank you!
|