=IFERROR(TEXT(TRIM(IF(MID(INDEX($A$1:$A$21,MATCH(TRUE,INDEX(ISNUMBER(SEARCH($A25,B$1:B$21)),0),0)),2,5)=" -",LEFT(INDEX($A$1:$A$21,MATCH(TRUE,INDEX(ISNUMBER(SEARCH($A25,B$1:B$21)),0),0)),5),LEFT(INDEX($A$1:$A$21,MATCH(TRUE,INDEX(ISNUMBER(SEARCH($A25,B$1:B$21)),0),0)),5)))*1,"hh:mm")&" - "&TEXT(TRIM(IFERROR(RIGHT(INDEX($A$1:$A$21,MAX(ISNUMBER(SEARCH("*"&$A25&"*",B$1:B$21))*ROW(B$1:B$21))),LEN(INDEX($A$1:$A$21,MAX(ISNUMBER(SEARCH("*"&$A25&"*",B$1:B$21))*ROW(B$1:B$21))))-FIND("- ",INDEX($A$1:$A$21,MAX(ISNUMBER(SEARCH("*"&$A25&"*",B$1:B$21))*ROW(B$1:B$21))))),""))*1,"hh:mm")&" "&"("&TEXT(TRIM(IFERROR(RIGHT(INDEX($A$1:$A$21,MAX(ISNUMBER(SEARCH("*"&$A25&"*",B$1:B$21))*ROW(B$1:B$21))),LEN(INDEX($A$1:$A$21,MAX(ISNUMBER(SEARCH("*"&$A25&"*",B$1:B$21))*ROW(B$1:B$21))))-FIND("- ",INDEX($A$1:$A$21,MAX(ISNUMBER(SEARCH("*"&$A25&"*",B$1:B$21))*ROW(B$1:B$21))))),""))*1-TRIM(IF(MID(INDEX($A$1:$A$21,MATCH(TRUE,INDEX(ISNUMBER(SEARCH($A25,B$1:B$21)),0),0)),2,5)=" -",LEFT(INDEX($A$1:$A$21,MATCH(TRUE,INDEX(ISNUMBER(SEARCH($A25,B$1:B$21)),0),0)),5),LEFT(INDEX($A$1:$A$21,MATCH(TRUE,INDEX(ISNUMBER(SEARCH($A25,B$1:B$21)),0),0)),5)))*1,"hh:mm")&")","")