ExcelFormulas logoExcelFormulas.
AIに聞く
検索/行列QA検証済み

INDEX & MATCH.

INDEXとMATCHを組み合わせて、列制限のない柔軟なデータ照合・検索を実現します。

検索/行列
ExcelExcel 365Excel 2021Excel 2019Google Sheets

仕組みと動作原理

INDEX & MATCH関数はExcel業務を効率化する代表的な関数です。INDEXとMATCHを組み合わせて、列制限のない柔軟なデータ照合・検索を実現します。 複雑な集計や参照処理を簡素化し、データ分析の精度と生産性を飛躍的に高めます。

💡 わかりやすい要約

MATCH finds the row number of your lookup item. INDEX uses that row number to grab the corresponding value from another column.

日常のたとえ

"Think of MATCH like a detective finding the row number of a suspect, and INDEX like a crane going directly to that row number to pick up the package."

構文.

標準Excel表記法
=INDEX(配列, MATCH(検索値, 検査範囲, 0))
ヒント: カッコの中の [角カッコ] で囲まれた引数は省略可能です。その他の引数は必須です。

引数一覧.

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

return_array必須

The range containing the value you want to return.

指定例: A2:A6
lookup_value必須

The value you want MATCH to search for.

指定例: D2
lookup_array必須

The range that MATCH searches in.

指定例: B2:B6
match_type省略可

0 = Exact match (recommended), 1 = Less than, -1 = Greater than.

初期値: 0

具体的な計算例

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

Reverse ID Lookup

Retrieve the Name of a student based on their ID (the search column is to the right of the name column).

Student NameID CodeGradeQuery IDStudent Name
EmmaST-402AST-404—
LiamST-403B——
OliviaST-404A+——
適用する数式
=INDEX(A2:A6, MATCH(D2, B2:B6, 0))
期待される結果::Calculated output

Evaluates INDEX & MATCH over the sample table cells, placing the verified output in cell E2.

数式ジェネレーター

ウィザードを開く

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

Generated Formulaコピー準備完了

出力される値の特性

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

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

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

  • INDEX-MATCH works perfectly looking left, unlike VLOOKUP which can only search to the right.
  • It is excellent for two-way lookups (looking up both row and column titles) by nesting a second MATCH function inside the column argument of INDEX.

よくあるミスと注意点

  • Be careful to match the boundaries of the ranges. If INDEX is A2:A6 and MATCH is searching B1:B6, the offset will cause incorrect values to be returned.
互換性情報

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

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

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

Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.

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

100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.

よくある質問と回答

技術解説
Why do financial analysts prefer INDEX & MATCH over VLOOKUP?↓

INDEX & MATCH does not require counting column offsets, allows leftward lookups, calculates faster in large workbooks because it reads only two columns, and never breaks when someone inserts or deletes columns.

Why is MATCH returning a #N/A error?↓

Ensure the third argument in MATCH (match_type) is explicitly set to 0 for exact matching. Also check for mismatched data types (such as numbers formatted as text).