i want to put all column for 1 row into row in xls
Output:
Not the cleanest way but it does the job.
Formula in column I:
=INDEX($A$1:$A$4;ROUNDUP(ROW()/5;0))
Notice the division between row number and 5. The divisor is 5 because you got 5 elements to get (c1,c2,c3,c4,c5). Change 5 to whatever columns you need to fecht.
Also, please notice you need to drag manually until you get the quantity of elements. In this case, your data is a table of 4x5 = 20 so you need to manually drag the formula from row 1 to row 20
Formula in column J:
=INDEX($B$1:$F$4;MATCH(I1;$A$1:$A$4;0);COUNTIF($I$1:I1;I1))
DONE! ;-)