I even don’t find a good name for my question.
See attachment table with a citation below:
If a number in the grey column (X) is equal to one in a coloured column (A-E), I want the corresponding number of the black cell in the pale coloured columns.
Labeling.ods (29.6 KB)