phantomx013
New Member
- Joined
- Apr 12, 2014
- Messages
- 16
Hi
I have 2 sheets in an excel file.
Sheet 1 has 2 columns as below:
<colgroup><col><col></colgroup><tbody>
</tbody>
Sheet 2 has 1 column
<colgroup><col></colgroup><tbody>
</tbody>
I want to compare sheet1.column2 with sheet1.column1 and put the corresponding results in sheet2.column2
What I did was I select the data in sheet1 and gave it name range "values". Next I used the formula =VLOOKUP(CONCATENATE("*",A1,"*"),Values,2,FALSE) for sheet2.column2
This give me only single corresponding value. e.g. it would give me below result
#37919 #47094
#45258 #47073
#44610 #47175
#36090 #N/A
Whereas I would like to have it in the below format:
#37919 #47094
#45258 #47073
#44610 #47175, #47178, #47189 <<<<<<<<<<<<<<
#36090 #N/A
Can someone help me please? I have about 6000 rows to compare !
Regards
MB
I have 2 sheets in an excel file.
Sheet 1 has 2 columns as below:
#47094 | #37919 |
#47073 | #45258 |
#47175, #47178, #47179 | #44610 |
N/A | #36090 |
<colgroup><col><col></colgroup><tbody>
</tbody>
Sheet 2 has 1 column
#37919 |
#45258 |
#44610 |
#36090 |
<colgroup><col></colgroup><tbody>
</tbody>
I want to compare sheet1.column2 with sheet1.column1 and put the corresponding results in sheet2.column2
What I did was I select the data in sheet1 and gave it name range "values". Next I used the formula =VLOOKUP(CONCATENATE("*",A1,"*"),Values,2,FALSE) for sheet2.column2
This give me only single corresponding value. e.g. it would give me below result
#37919 #47094
#45258 #47073
#44610 #47175
#36090 #N/A
Whereas I would like to have it in the below format:
#37919 #47094
#45258 #47073
#44610 #47175, #47178, #47189 <<<<<<<<<<<<<<
#36090 #N/A
Can someone help me please? I have about 6000 rows to compare !
Regards
MB