Google Sheets VLOOKUP Tutorial 2027 — Complete Guide with Examples

By Tuân HoangMarch 29, 202611 min read

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

FunctionProsCons
VLOOKUPSimple, widely knownLeft-to-right only, column count fragile
INDEX-MATCHAny direction, robustMore complex syntax
XLOOKUPBest of both, handles errorsNot 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 datasets

Common 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 này cũng có bản tiếng Việt

Try SheetStore for Google Sheets

Management software built on Google Sheets — from $29 one-time

View Pricing