Put this formula in C4:
Formula:
=IF(AND(A4>=A$2,A4<=B$2),MAX(C$3:C3)+1,"-")
and copy down to the bottom of your data. Then you can get the first date using this formula:
Formula:
=IFERROR(INDEX(A:A,MATCH(ROWS($1:1),$C:$C,0)),"")
and the corresponding name using this in the adjacent cell:
Formula:
=IFERROR(INDEX(B:B,MATCH(ROWS($1:1),$C:$C,0)),"")
(actually, this is just the previous formula copied into it).
Format the date cell as you wish to see it, then copy these two formulae down as far as you need to. Then change the start or end dates on row 2 and the list will automatically adjust.
Not sure why you are not showing the Tupolev flight on 6th April in your list.
Hope this helps.
Pete
Bookmarks