Is there any way to combine the following?

=IFERROR(INDEX(Combined!$C$4:Combined!$C$22,SMALL(IF(Combined!$D$4:Combined!$D$22="0600-1430",ROW(Combined!$D$4:Combined!$D$22)-3),ROW()-23)),"")

and

=IFERROR(INDEX(Combined!$C$4:Combined!$C$22,SMALL(IF(Combined!$D$4:Combined!$D$22="1400-2230",ROW(Combined!$D$4:Combined!$D$22)-3),ROW()-23)),"")

Thanks in advance!