Hi @ania, and wolcome to the ODK Community forum !
Please take some time to introduce yourself here
In fact when you select 1 and 2 and 3, the "1 and 2" condition is true, as "1 and 3" and "2 and 3". You need to add a not(selected(${Q21},'value to exclude')) to the test where only 2 values are needed