Hi friends,
Please help me with a VBA function to vlookup, to return single value from a comma separated cell.
Workbook1, sheet1
A B
1,2,3,4 Sun
5,6,7,8 Moon
Workbook2, sheet1
A B
1 Sun (Vlookup Function need to get "Sun")
2 Sun
3 Sun
4 Sun
5 Moon (Vlookup Function need to get "Moon")
6 Moon
7 Moon
8 Moon
I need to vlookup to workbook2 sheet1 coloumB and to get the result in single vlaue.
Please help me
Please help me with a VBA function to vlookup, to return single value from a comma separated cell.
Workbook1, sheet1
A B
1,2,3,4 Sun
5,6,7,8 Moon
Workbook2, sheet1
A B
1 Sun (Vlookup Function need to get "Sun")
2 Sun
3 Sun
4 Sun
5 Moon (Vlookup Function need to get "Moon")
6 Moon
7 Moon
8 Moon
I need to vlookup to workbook2 sheet1 coloumB and to get the result in single vlaue.
Please help me