ExcelFormulas logoExcelFormulas.
AIに聞く
テキストQA検証済み

TEXTJOIN.

区切り文字を指定して、複数のセル範囲や文字列を空白セルを無視しながら結合します。

テキスト
ExcelExcel 365Excel 2021Excel 2019Google Sheets

仕組みと動作原理

TEXTJOIN関数はExcel業務を効率化する代表的な関数です。区切り文字を指定して、複数のセル範囲や文字列を空白セルを無視しながら結合します。 複雑な集計や参照処理を簡素化し、データ分析の精度と生産性を飛躍的に高めます。

💡 わかりやすい要約

Glues text from different cells together into one cell, placing a separator of your choice (like a comma) in between.

日常のたとえ

"Think of this like threading letter beads on a necklace. You choose a separator (like a space or comma) to put between each bead (word)."

構文.

標準Excel表記法
=TEXTJOIN(区切り文字, 空白を無視, 文字列1, [文字列2], ...)
ヒント: カッコの中の [角カッコ] で囲まれた引数は省略可能です。その他の引数は必須です。

引数一覧.

この関数で指定できるすべての引数について詳しく解説します。

delimiter必須

The character(s) to place between each item.

指定例: ", "
ignore_empty必須

TRUE = Skip empty cells, FALSE = Include empty cells in output.

初期値: TRUE
text1必須

The first cell range or text item to combine.

指定例: A2:C2

具体的な計算例

ステップ別の実務シナリオ

Assemble Full Address

Join Street, City, and Zip Code with a comma, ignoring any empty fields.

StreetCityZip CodeFormatted AddressFormat
123 Elm StSeattle98101—Comma Space
456 Pine Rd—90210——
789 Oak AveNew York10001——
適用する数式
=TEXTJOIN(", ", TRUE, A2:C2)
期待される結果::Calculated output

Evaluates TEXTJOIN over the sample table cells, placing the verified output in cell D2:D6.

数式ジェネレーター

ウィザードを開く

引数を入力するだけで、シートにそのまま貼り付けて使える数式を作成できます。

Generated Formulaコピー準備完了

出力される値の特性

Returns "Calculated output" based on sample evaluation criteria and active cell references.

出力サンプル::Calculated output
戻り値の型::Text

実務上のベストプラクティス

  • TEXTJOIN can combine an entire range of cells (e.g. A2:A50) in a single argument, which was impossible with CONCATENATE.
  • It is extremely useful for building formatted lists, joining address fields, or creating CSV rows.

よくあるミスと注意点

  • Excel caps formula return text length at 32,767 characters. Joining thousands of cells may trigger a #VALUE! error.
互換性情報

各プラットフォーム対応表

実際のExcelおよびGoogleスプレッドシートの計算エンジン仕様に基づいた検証結果です。

Excel✓
対応
Excel 365✓
対応
Excel 2021✓
対応
Excel 2019✓
対応
Google Sheets✓
対応
Excelバージョン対応履歴

Introduced in Excel 2019 and Excel 365. Available across Excel 2019, Excel 2021, and Excel 365.

Googleスプレッドシート対応状況

100% compatible with Google Sheets with identical delimiter and ignore_empty parameters.

よくある質問と回答

技術解説
Can I use TEXTJOIN across different worksheets in Excel?↓

Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =TEXTJOIN(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.

What is the most common reason for errors in TEXTJOIN?↓

Excel caps formula return text length at 32,767 characters. Joining thousands of cells may trigger a #VALUE! error.

Does TEXTJOIN work identically in Google Sheets?↓

Yes, TEXTJOIN is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.