View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
ozgrid.com ozgrid.com is offline
external usenet poster
 
Posts: 464
Default how to match between two list using letters

In C1 of sheet2 and copy down;

=INDEX(Sheet1!$A$1:$B$10,MATCH(SUBSTITUTE(A1,"-","") &
B1,Sheet1!$B$1:$B$10,0),1)



--
Regards
Dave Hawley
www.ozgrid.com
"Jon" wrote in message
...
Hi,
I have two sheets as follows:
sheet1
A--------------B
34145 D173abcd
333215 TI242EFG
344233 E0124ABCD

Sheet2
A-----------B------------C
D-173 abcd ?
B-241 efgh ?
TI-242 XYZ ?
E-0124 STQ ?


What I want to do is taking the value from Colum A in sheet1 and put it in
column C in sheet 2 using Sheet1 Column B as an indicator.

Please note that the Column A in sheet2 has the same data of Column B in
sheet1 but there are extra letters and characters.