Hi,
in my opinion you did not fully understand the logic.
Here you capture the character that was delected in "r21"
if(r21 == 1, 'e', if(r21 == 2, 'f', if(r21 == 3, 'g', if(r21 == 4, 'h', if(r21 == 5, 'i', if(r21 == 6, 'j', if(r21 == 7, 'k', if(r21 == 8, 'l', 'm'))))))))
Afterwards this character isn't in the set anymore.
But your next equation is:
if(r21 == 1, 'efghijkl', if(r21 == 2, 'efghijkm', if(r21 == 3, 'efghijlm', if(r21 == 4, 'efghiklm', if(r21 == 5, 'efghjklm', if(r21 == 6, 'efgijklm', if(r21 == 7, 'efhijklm', if(r21 == 8, 'eghijklm', 'fghijklm'))))))))
Of course you have to remove the character that was selected before
if(r21 == 1, 'fghijklm', if(r21 == 2, 'eghijklm', if(r21 == 3, 'efhijklm', if(r21 == 4, 'efgijklm', if(r21 == 5, 'efghjklm', if(r21 == 6, 'efghiklm', if(r21 == 7, 'efghijlm', if(r21 == 8, 'efghijkm', 'efghijkl'))))))))
It's just the other way.
I think it's the same in the next equation for catagory C.
Best regards
Joffm