Advanced-excel-functions-advanced-excel-statistical-textjoin-function

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

統計-TEXTJOIN関数

説明

TEXTJOIN関数は、複数の範囲や文字列のテキストを結合し、結合する各テキスト値の間に指定する区切り文字を含めます。 区切り文字が空のテキスト文字列の場合、この関数は範囲を効果的に連結します。

この関数はExcel 2016で追加されました。

構文

TEXTJOIN (delimiter, ignore_empty, text1, [text2], …)

引数

Argument Description Required/Optional
delimiter

A text string, either empty, or one or more characters enclosed by double quotes, or a reference to a valid text string.

番号を指定すると、テキストとして扱われます。

Required
ignore_empty If TRUE, ignores empty cells. Required
text1

Text item to be joined.

テキスト文字列、またはセル範囲などの文字列の配列。

Required
Text2, …​

Additional text items to be joined. There can be a maximum of 252 text arguments for the text items, including text1.

それぞれは、テキスト文字列、またはセル範囲などの文字列の配列です。

Optional

ノート

結果の文字列が32767文字(セルの制限)を超える場合、TEXTJOINは#VALUE!を返します。 エラー。

適用範囲

Excel 2016

TEXTJOIN関数