Thank you.

That formula worked for the 1 and 2 of them being Y's but not when all 3 are Y's; when all 3 are Y's it still shows the M-XL
Attachment 820979