Select_multiple choices, then rank the selected choices

Hie Svenja How can you only include only the selected options in the rank question?