Excel VLOOKUP Function
Syntax
What is VLOOKUP?
VLOOKUP (Vertical Lookup) searches vertically in the first column of a table and returns a value from another column in the same row. It is the most widely used Excel function — from looking up product prices, employee departments, to invoice amounts.
VLOOKUP Syntax
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
Arguments
- lookup_value — value to search in the first column.
- table_array — range to search in.
- col_index_num — column number from which to return a value.
- range_lookup — FALSE (exact, recommended) or TRUE (approximate).
5 Real Examples
See Turkish version for detailed examples. English Excel formulas use the same structure with VLOOKUP keyword.
Common Errors
- #N/A — value not found. Wrap with
IFERROR. - #REF! — col_index_num exceeds table columns.
- #VALUE! — col_index_num is less than 1.
Modern Alternative: XLOOKUP
=XLOOKUP(E1, A:A, C:C, "Not found")
Cleaner, safer, can search in both directions.
Examples
| # | Title | Formula | Result |
|---|---|---|---|
| 1 | Ürün koduyla fiyat bulma | =DÜŞEYARA(E1;A2:C100;3;YANLIŞ) |
Fiyat |
| 2 | Çalışan kodundan departman | =DÜŞEYARA(H2;Çalışanlar!A:C;3;YANLIŞ) |
Departman adı |
| 3 | Harf notu atama | =DÜŞEYARA(B2;A:B;2;DOĞRU) |
Harf notu |
| 4 | Hata yönetimi | =EĞERHATA(DÜŞEYARA(E1;A:C;3;YANLIŞ);"Bulunamadı") |
"Bulunamadı" veya değer |
Common Errors
Solution:
Solution:
Solution:
Frequently Asked Questions
Enter your email to receive the example Excel file (link valid 24h).