How to do this

%3CLINGO-SUB%20id%3D%22lingo-sub-1520435%22%20slang%3D%22en-US%22%3EHow%20to%20do%20this%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1520435%22%20slang%3D%22en-US%22%3E%3CP%3Ehello%2Cif%20anyone%20know%20how%20to%20make%20data%20like%20this%3A%3C%2FP%3E%3CP%3EA%3C%2FP%3E%3CP%3EB%3C%2FP%3E%3CP%3EC%3C%2FP%3E%3CP%3ED%3CBR%20%2F%3E...%26nbsp%3B%3C%2FP%3E%3CP%3Eturn%20into%3C%2FP%3E%3CP%3EA%3C%2FP%3E%3CP%3EA%3CBR%20%2F%3EA%3C%2FP%3E%3CP%3EA%3C%2FP%3E%3CP%3EA%3C%2FP%3E%3CP%3EB%3CBR%20%2F%3EB%3CBR%20%2F%3EB%3CBR%20%2F%3EB%3CBR%20%2F%3EB%3C%2FP%3E%3CP%3EC%3C%2FP%3E%3CP%3EC%3CBR%20%2F%3EC%3CBR%20%2F%3EC%3CBR%20%2F%3EC%3CBR%20%2F%3E...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eplease%20tell%20me%2Cthank%20youu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1520435%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1520660%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20do%20this%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1520660%22%20slang%3D%22en-US%22%3ECopy%20paste%20the%20first%20four%20rows%20five%20times%20(under%20each%20other)%2C%20then%20sort%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1521641%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20do%20this%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1521641%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F688721%22%20target%3D%22_blank%22%3E%40adeliasuharly%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20such%20sample%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20568px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F205266i860CDED1061A81B2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3Ein%20D4%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DINDEX(B%3AB%2CINT((ROW()-ROW(%24D%243)-1)%2F5)%2BROW(%24B%241)%2B1)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eand%20drag%20it%20down%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

hello,if anyone know how to make data like this:

A

B

C

D
... 

turn into

A

A
A

A

A

B
B
B
B
B

C

C
C
C
C
...

 

please tell me,thank youu

2 Replies
Copy paste the first four rows five times (under each other), then sort?

@adeliasuharly 

For such sample

image.png

in D4

=INDEX(B:B,INT((ROW()-ROW($D$3)-1)/5)+ROW($B$1)+1)

and drag it down