REPT函数将文本重复给定的次数。使用REPT可以用多个文本字符串填充单元格。
REPT (text, number_times)
Argument | 描述 | Required/Optional |
---|---|---|
Text | The text you want to repeat. | Required |
Number_times | A positive number specifying the number of times to repeat text. | Required |
如果number_times为0(零),则REPT返回""(空文本)。
如果number_times不是整数,则会被截断。
来源:LearnFk无涯教程网
REPT函数的输出不能超过32,767个字符,否则REPT返回#VALUE!错误值。
Excel 2007,Excel 2010,Excel 2013,Excel 2016
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)