Maybe this
Enter in E2 and copy down
Formula: copy to clipboard
=LOOKUP(MAX(C$2:D2)-1,K$7:N$18)