Advanced-excel-functions-advanced-excel-statistical-rept-function

提供:Dev Guides
移動先:案内検索

高度なExcel統計-REPT関数

説明

REPT関数は、指定された回数だけテキストを繰り返します。 REPTを使用して、セルにテキスト文字列のインスタンスをいくつか入力します。

構文

REPT (text, number_times)

引数

Argument Description 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が整数でない場合、切り捨てられます。
  • REPT関数の結果は32,767文字を超えることはできません。そうでない場合、REPTは#VALUE!を返します。 エラー値

適用範囲

Excel 2007、Excel 2010、Excel 2013、Excel 2016

レプト関数