You could try this.

=SUBSTITUTE(INDEX($A1:$C1, MATCH("*"&F$1&"*", $A1:$C1,0)),F$1,"")