=IF(ROW()-ROW($F$1)+1>COUNTA(E:E)*COUNTA(F:F),"",INDEX(E:E,INT((ROW()-ROW($F$1))/COUNTA(F:F)+1))&"-"&INDEX(F:F,MOD(ROW()-ROW($F$1),COUNTA(F:F))+1))
@sanjeev kumar
See the attached file with solution to your Q1 with two formulas as shown in Orange cells.
As per your Q2, it is vary vast. Can you narrow down it.
Regards,
Dear Faseeh,