Hi Sadasivan,
Alternatively you can enter this formula in cell B2 and copy it down until B36
=IF(MOD(ROW(A2)-ROW(A$2)+1,6)=0,"",OFFSET(A$2,MOD(ROW(A2)-ROW(A$2)+1,6)+QUOTIENT(ROW(A2)-ROW(A$2)+1,6)*5-1,0))
I have given the generic formula assuming data start cell can vary. Here data start cell is A2 and I have used A$2 in the formula for the same. If this is fixed, you can further simplify the formula and just say this:
=IF(MOD(ROW(A2)-1,6)=0,"",OFFSET(A$2,MOD(ROW(A2)-1,6)+QUOTIENT(ROW(A2)-1,6)*5-1,0))
Anand