I have the following Excel spreadsheet:
A B C D E F 1 MFC2 MFC1 QFC Searc
=INDEX($A$1:$C$1,MAX(ISNUMBER(FIND(E1,$A$2:$C$7))*COLUMN($A$2:$C$7)))