Hi SM,@ashish mehra
My official meeting beat me onto this
But here is an alternate solution, normal formula : Enter in A12 and copy down:
=IFERROR(INDEX($A$3:$S$6,INT((ROWS(B$12:B12)-1)/19)+1,(MOD((INT((ROWS(B$12:B12)-1)/5)),4)+1)+(MOD((ROWS(B$12:B12)-1),5)*5)),"")
I think part of the formula matches with @Luke M Formula, but I thought since I worked on it and it's non-volatile solution, I must share here .
Regards,
Ah, tricky little 4! It got away from me. New formula on same sheet:
=IF(MOD(ROWS($A$1:$A1),5)=0,"",OFFSET($A$3,INT((ROWS($A$1:$A1)-1)/20),MOD(INT((ROWS($A$1:$A1)-1)/5),4)+MOD(ROWS($A$1:$A1)-1,5)*5))
Or, if you want on a separate sheet:
=IF(MOD(ROWS($A$1:$A1),5)=0,"",OFFSET(Sheet1!$A$3,INT((ROWS($A$1:$A1)-1)/20),MOD(INT((ROWS($A$1:$A1)-1)/5),4)+MOD(ROWS($A$1:$A1)-1,5)*5))
Hey Srivallabha,BTW, just for the kick of it you could also try the normally unused feature (area) of INDEX formula as below:
=IFERROR(INDEX(($A$3:$D$6,$F$3:$I$6,$K$3:$N$6,$P$3:$S$6),CEILING(ROWS($B$12:$B12)/20,1),CEILING(MOD(ROWS($B$12:$B12),20)/5,1),MOD(ROWS($B$12:$B12),5)),"")
sory newbii ....
i hope this can help, just sharing
hehehe ...