简体   繁体   English

在MS Excel中显示N,N次

[英]Display number N , N times in MS Excel

I need your help. 我需要你的帮助。

I have a number '10' in A3 cell of MS Excel. 我在MS Excel的A3单元格中有一个数字“ 10”。 Now, i want to select the number '10' and display 'hello' 10 times in the excel. 现在,我想选择数字“ 10”并在Excel中显示“ hello” 10次。

Similarly, if i have any number N( not very large number), how can i display the some text "N" times. 同样,如果我有任何数字N(不是很大的数字),我该如何显示一些文本“ N”次。

Please help. 请帮忙。 I want to display "hello" in N different cells. 我想在N个不同的单元格中显示“ hello”。

Thanks, JT 谢谢,JT

Pick some cell and enter: 选择一些单元格并输入:

=IF(ROWS($1:1)>$A$3,"","hello")

Then copy down 然后抄下来

在此处输入图片说明



If you change the value in A3, the number of Hello s will chnage. 如果您更改A3中的值Hello的数量将会改变。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM