Try this in L7 and drag across and down:

=VLOOKUP($K7,$A$7:$C$11,COLUMNS($K$7:L7),FALSE)