REPT - Displaying Results

%3CLINGO-SUB%20id%3D%22lingo-sub-352504%22%20slang%3D%22en-US%22%3EREPT%20-%20Displaying%20Results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-352504%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20quick%20question%20on%20REPT%20and%20displaying%20the%20contents.%20It%20looks%20like%2C%20by%20default%2C%20the%20results%20are%20displayed%20in%20rows%2C%20Is%20there%20a%20way%20to%20get%20the%20to%20display%20in%20columns%20instead%3F%20I%20may%20just%20be%20missing%20something%20simple%2C%3C%2FP%3E%3CP%3EThanks%2C%20Ben%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-352504%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EREPT%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-354868%22%20slang%3D%22en-US%22%3ERe%3A%20REPT%20-%20Displaying%20Results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-354868%22%20slang%3D%22en-US%22%3E%3CP%3EREPT%20is%20repeats%20the%20text%20some%20number%20times%20and%20shows%20it%20within%20the%20cell%2C%20by%20default%20in%20horizontal%20direction.%20To%20show%20in%20vertical%20direction%20within%20the%20cell%20you%20may%20use%20workaround%20like%3C%2FP%3E%0A%3CPRE%3E%3DREPT(%22X%22%26amp%3BCHAR(10)%2C9)%3C%2FPRE%3E%0A%3CP%3E%2C%20Ctrl%2B1%20on%20that%20cell%20and%20in%20Alignment%20check%20Wrap%20text%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-352589%22%20slang%3D%22en-US%22%3ERe%3A%20REPL%20-%20Displaying%20Results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-352589%22%20slang%3D%22en-US%22%3E%3CP%3ESorry%2C%20I%20corrected%20the%20post%2C%20that%20was%20supposed%20to%20be%20REPT%20...%20%3CLI-EMOJI%20id%3D%22lia_slightly-smiling-face%22%20title%3D%22%3Aslightly_smiling_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F35679%22%20target%3D%22_blank%22%3E%40Haytham%20Amairah%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3E%3CP%3EHi%20Ben%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20%22REPL%22%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EI%20have%20never%20heard%20of%20this%20thing%20in%20Excel!%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-352573%22%20slang%3D%22en-US%22%3ERe%3A%20REPL%20-%20Displaying%20Results%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-352573%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Ben%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20%22REPL%22%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EI%20have%20never%20heard%20of%20this%20thing%20in%20Excel!%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hello, quick question on REPT and displaying the contents. It looks like, by default, the results are displayed in rows, Is there a way to get the to display in columns instead? I may just be missing something simple,

Thanks, Ben

3 Replies
Highlighted

Hi Ben,

 

What is "REPL"?

I have never heard of this thing in Excel!

Highlighted

Sorry, I corrected the post, that was supposed to be REPT ... :)


@Haytham Amairah wrote:

Hi Ben,

 

What is "REPL"?

I have never heard of this thing in Excel!


 

Highlighted

REPT is repeats the text some number times and shows it within the cell, by default in horizontal direction. To show in vertical direction within the cell you may use workaround like

=REPT("X"&CHAR(10),9)

, Ctrl+1 on that cell and in Alignment check Wrap text