Here are the demo values to illustrate the question
[pre]
[/pre]
It is to be noted that there are multiple DATA lists and it would be great if it is possible to dynamically choose different DATA lists for corresponding G and Rem columns. There can be multiple matches for some values (see 0685, 0688)
I have seen some amazing replies on this forum. I would be highly obliged if somebody could propose solution to this, it would save my 'face'! I hope I was clear enough though. Thank you
PS:Thanks for editing help mods
[pre]
Code:
DATA1 DATA2 GR1 GR2 GR3
0002 0002 0002 0002 0015
0011 0011 0037 0011 0037
0015 0015 0038 0030 0038
0040 0040 0040 0043 0040
0041 0041 0041 0632 0041
0042 0050 0042 0634 0042
0206 0206 0043 0638 0065
0207 0300 0044 0685 0206
0632 0632 0206 0688 0207
0634 0634 0207 1135 0685
0638 0638 0620 1140 0688
0685 0666 0632 1180 1109
0688 0688 0634 1184 1210
1102 1102 0638 1191 1217
1109 0999 0685 1192 1230
1114 1114 0688 1193 1275
1135 1135 1212 1279
1141 1141 1246 1302
1180 1212 1303
1192 1242 1308
1217 1277 1341
1230
I would like each value from DATA Columns to be matched to values in GR1, GR2, GR3. What ever is not matched, should go into column Remaining. For example, the output for DATA1 one Should be like:
GR1 GR2 GR3 REM
0002 0015 1114 1102
0011 0040 1141
0632 0041
0634 0042
0638 0206
0685 0207
0688 0685
1135 0688
1180 1109
1192 1217
1230
It is to be noted that there are multiple DATA lists and it would be great if it is possible to dynamically choose different DATA lists for corresponding G and Rem columns. There can be multiple matches for some values (see 0685, 0688)
I have seen some amazing replies on this forum. I would be highly obliged if somebody could propose solution to this, it would save my 'face'! I hope I was clear enough though. Thank you
PS:Thanks for editing help mods