Hi Ranj,
This needs UDF indeed. The trick is to combine all the values of the COMMENT field so that it will have the same number of contexts as Z1WHCUSTC.
1. First UDF for combining the values:
2. Second UDF for splitting the values:
Mapping for first comment
Mapping for mixPlt comment
Test:
Only CU0 and CU4 have comments which is the desired output.
Regards,
Mark