Paste the following into cell B32 and drag the fill handle down to cell B43:
Formula:
=IFERROR(INDEX(B$3:B$30,AGGREGATE(15,6,(ROW(B3:B30)-ROW(B2))/($E$3:$E$30="HANGAR"),ROWS(B$32:B32))),"")
Paste the following into cell B45 and drag the fill handle down to cell B64:
Formula:
=IFERROR(INDEX(B$3:B$30,AGGREGATE(15,6,(ROW(B3:B30)-ROW(B2))/($E$3:$E$30="LINE"),ROWS(B$45:B45))),"")
Note that these are regular formulas which may be activated by pressing the Enter key.
Let us know if you have any questions.
Bookmarks