Here's a formula solution, you will have to make adjustments on this as you have not supplied any cell reference data.
This assumes the following
Your original data is in A$2:A$1000, adjust this range depending where your data starts
Your output begins in C3, change the 3 to whatever row your output begins, also change the 2 to one less than the column you want to begin outputting in so if output starts in column E (column 5) change the 2 to a 4 (one less than 5).
in top left hand corner of your output cell
=INDEX($A$2:$A$1000,MOD((ROW()-3),5)*5+COLUMN()-2,1)