是否有任何公式可用于复制指定次数的特定单元格? [英] is there any formula that can be used to duplicate a particular cell specified numer of times?

查看:25
本文介绍了是否有任何公式可用于复制指定次数的特定单元格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理一个当前的数据,在该数据中,我有一个公司名称列表,一个在另一个列表之下.例如.

Im working on a data currently where i have a list of company names one below the other . eg.

 1. A
 2. B
 3. C

还有更多...
所需的结果是

and many more...
the result needed is

 1. A
 2. A
 3. A
 4. A
 5. A
 6. B
 7. B
 8. B
 9. B
 10. B
 11. C
 12. C
 13. C
 14. C
 15. C

以此类推...
数据太大而无法手动执行此任务.因此,如果有人可以提出一个可以简化工作的公式,那将是一件很棒的事情:)

and so on...
the data is too huge to do this task manually.therefore it would be great if anyone can suggest a formula which can simplify the work :)

推荐答案

A 列中有数据,在 B1 中输入:

With data in column A, in B1 enter:

=INDEX(A:A,ROUNDUP(ROWS($1:1)/5,0))

并复制下来:

要获得六个重复,只需使用 6 代替 5

To get six repeats, just use 6 in place of 5

这篇关于是否有任何公式可用于复制指定次数的特定单元格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆