I cannot detect the end date of particular last events in the attached file.
I use
(a) =AGGREGATE(15,6,$A$3:$A$28/($A$3:$A$28<>EDATE(N(+$A$2:$A$28),1)),ROWS(F$3:F3)) to fine start date and it work in all data range
(b)=IFERROR(AGGREGATE(14,6,$A$3:$A$28/($A$3:$A$28>$F3)/($A$3:$A$28<$F4),1),"") to find end date but in only works on single end date bu cannot find continuous end date of last event.
The data attached herewith make clear idea about the problem on "input-B" in column O (highilited there).
Bookmarks