
VLOOKUP vs. XLOOKUP: Complete Guide to Formulas, Definitions, Uses, and Error Fixes
VLOOKUP vs. XLOOKUP differences are compared at a glance, including exact, approximate, wildcard, and multiple-condition matches, plus error fixes. XLOOKUP is recommended for new workbooks, while legacy workbooks should be migrated gradually.
Quick Fix
=XLOOKUP(A2, Table1[코드], Table1[단가], "없음")
=XLOOKUP("*"&E2&"*", Table1[상품명], Table1[코드], "미검색", 2)
=XLOOKUP(D2, 세율표[과세표준], 세율표[세율], , -1, 2)
=VLOOKUP(B2&"-"&TEXT(C2,"yyyymm"), 헬퍼표, 3, FALSE)
VLOOKUP vs. XLOOKUP
- XLOOKUP can look up in either direction, uses exact match by default, and provides if_not_found.
- VLOOKUP is simple but vulnerable to inserted columns.
Syntax
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])
Practical Examples
You can apply single-condition, partial-match, multiple-condition, and approximate-match examples right away.
Error Fixes
| Symptom | Cause | Fix |
|---|---|---|
| #N/A | Key mismatch | TRIM/CLEAN/consistent formatting |
| #REF! | Effect of inserted columns | XLOOKUP/structured references |
| #SPILL! | Blocked spill range | Clear the range |
Checklist
- Use XLOOKUP first; use FALSE with VLOOKUP.
- Use tables and structured references.
- For multiple conditions, use FILTER/XLOOKUP.
- For approximate matches, sort the data and use binary search.