Excel の VLOOKUP 関数
VLOOKUP 関数の使い方、構文、代表的な利用シーンを確認し、ExcelGPT で実際のブック構成に合わせた式へ調整できます。
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])lookup_value必須VLOOKUP の引数 lookup_value。説明(原文):The value to search for in the first column of the table.
table_array必須VLOOKUP の引数 table_array。説明(原文):The table or range that contains both lookup and return values.
col_index_num必須VLOOKUP の引数 col_index_num。説明(原文):The column number within the table to return.
range_lookup任意VLOOKUP の引数 range_lookup。説明(原文):Optional TRUE or FALSE for approximate or exact match behavior.
例
=VLOOKUP(A2, $H$2:$K$100, 3, FALSE)VLOOKUP の一般的な使い方を示します。説明(原文):Searches for the product ID in the first column of the table and returns the third column value.
=VLOOKUP(B2, $M$2:$N$8, 2, TRUE)VLOOKUP の一般的な使い方を示します。説明(原文):Uses approximate matching to map a sales value to the correct commission percentage.
よくあるミス
VLOOKUP の引数順、データ型、参照範囲が正しいか確認してください。
範囲指定、空セル、エラー値、スピル結果が計算に影響していないか見直してください。
まずは少数のサンプル行で検証してからブック全体に広げてください。