A non array solution after unmerging
=INDEX(B1:B17,MATCH(LOOKUP(2,1/(C1:C65534<>""),C1:C65534),C1:C17,0)+1)