Google Sheets VLOOKUP Tutorial 2027 — Complete Guide with Examples
29 tháng 3, 2026
Cập nhật: 9 tháng 5, 2026
11 phút đọc
VLOOKUP vs XLOOKUP in 2027
Google Sheets now supports XLOOKUP which is more flexible and faster than VLOOKUP. Use XLOOKUP for new projects, but understand VLOOKUP since it appears in most existing spreadsheets.
VLOOKUP Syntax
=VLOOKUP(search_key, range, index, [is_sorted])
Example: Look up product price by SKU:
=VLOOKUP(A2, Products!A:C, 3, FALSE)
A2 = SKU to search
Products!A:C = search range (SKU in column A)
3 = return 3rd column (Price)
FALSE = exact match (always use FALSE for business data)Common VLOOKUP Business Examples
1. Auto-fill product price from SKU in orders
=VLOOKUP(B2, PriceList!A:B, 2, FALSE)2. Look up customer discount tier
=VLOOKUP(CustomerID, Customers!A:D, 4, FALSE)3. Map employee to department
=VLOOKUP(EmployeeID, HR!A:E, 3, FALSE)VLOOKUP vs INDEX-MATCH vs XLOOKUP
| Function | Pros | Cons |
|---|---|---|
| VLOOKUP | Simple, widely known | Left-to-right only, column count fragile |
| INDEX-MATCH | Any direction, robust | More complex syntax |
| XLOOKUP | Best of both, handles errors | Not available in older Excel |
XLOOKUP Syntax (Recommended)
=XLOOKUP(search_value, lookup_array, return_array, [not_found])
Example: =XLOOKUP(A2, Products!A:A, Products!C:C, "Not Found")
Advantages over VLOOKUP:
- Can look left or right
- Built-in error handling with [not_found]
- Returns multiple columns at once
- Faster on large datasetsCommon VLOOKUP Errors and Fixes
- #N/A: Value not found — check for trailing spaces (use TRIM), case mismatch, or data type mismatch (number vs text)
- #REF!: Column index exceeds range width — expand your range
- Wrong value returned: Using TRUE instead of FALSE for approximate match
FAQ
Should I use VLOOKUP or INDEX-MATCH in 2027?
Use XLOOKUP if available. If not, INDEX-MATCH is more robust for complex lookups. VLOOKUP is fine for simple left-to-right lookups.
📚 Bài Viết Liên Quan
Chia sẻ bài viết:
Tuân Hoang
Đội ngũ SheetStore
Google SheetsGoogle Apps ScriptCRMAutomationPhần mềm quản lý doanh nghiệp
Google Workspace Certified, 5+ years experience
Bạn thấy bài viết hữu ích?
Đăng ký nhận thông báo khi có bài viết mới.