Try
=INDEX(B1:B7,MATCH(TRUE,A1:A7="",0))
confirmed with CTRL+SHIFT+ENTER
Is there a way to go without using array formula? The reason being that I wil using is as formula to name a range and I do not think array formulas are accepted in the "Refers to" box in naming ranges.