View Single Post
  #5   Report Post  
Herbert Seidenberg
 
Posts: n/a
Default

In case Alan's excellent macro still irritates you,
here is a way to do it without VBA.
Name your input array Harry. Use InsertNameDefine
Also define these names:
Rolk ={1;2;3;4;5;6;7;8;9;10}
Colk ={1,2,3}
Select your output array and enter into the formula bar
=INDEX(Harry,CEILING(Rolk/2,1),--NOT(MOD(Rolk,2))*3+Colk)
then press Shift+Ctrl+Enter