Hi,

Could you upload the workbook with all permutations of strings & data and manually add the results you want to see.
I find it much easier to provide solutions when I can see the end goal.