=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
| Argument | Required | Description |
|---|---|---|
| lookup_value | Required | The value to search for in the first column of table_array. Can be a cell reference, typed value, or formula result. Data types must match — a number will not match text containing that number. |
| table_array | Required | The range containing your lookup table. VLOOKUP always searches the first column. Use absolute references with $ so the range does not shift when you copy the formula down. |
| col_index_num | Required | Which column to return, counting from the left edge of table_array starting at 1. Column 1 is the search column itself. Column 2 is the next one to the right. |
| range_lookup | Optional | FALSE or 0 for exact match — use this for IDs, codes, and names. TRUE or 1 for approximate match — requires sorted data. Defaults to TRUE if omitted so always specify FALSE explicitly. |
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Lookup Code | Code | Product Name | Price |
| 2 | PRD-003 | PRD-001 | Wireless Mouse | 29.99 |
| 3 | PRD-002 | USB Keyboard | 45.99 | |
| 4 | PRD-003 | Monitor Stand | 89.50 | |
| 5 | PRD-004 | Laptop Bag | 59.99 | |
| 6 | PRD-005 | HDMI Cable | 12.99 | |
| 7 | PRD-006 | Webcam HD | 79.00 |
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Lookup ID | Employee ID | Name | Department |
| 2 | EMP-004 | EMP-001 | Alice Chen | Engineering |
| 3 | EMP-999 | EMP-002 | Bob Smith | Marketing |
| 4 | EMP-003 | EMP-003 | Carol Jones | Sales |
| 5 | EMP-004 | David Kim | Finance | |
| 6 | EMP-005 | Eve Taylor | Engineering |
| A | B | C | D | E | ||
|---|---|---|---|---|---|---|
| 1 | Name | Income | Tax Rate | Min Income | Rate | |
| 2 | Alice | 45000 | =VLOOKUP(B2,$E$2:$F$6,2,TRUE) | 0 | 10% | |
| 3 | Bob | 85000 | 25% | 30000 | 20% | |
| 4 | Carol | 125000 | 30% | 60000 | 25% | |
| 5 | David | 28000 | 10% | 100000 | 30% | |
| 6 | 150000 | 35% |
=VLOOKUP(B2,PriceList!$A:$C,3,FALSE)
=VLOOKUP(A2,HR!$A:$D,3,FALSE)
=VLOOKUP(A2,TaxTable!$A:$B,2,TRUE)
=IFERROR(VLOOKUP(C2,Accounts!$A:$E,4,FALSE),0)
=VLOOKUP(A2,$F$2:$G$8,2,FALSE)
=VLOOKUP(A2,$E$2:$G$100,3,FALSE)
=IFERROR(VLOOKUP(A2,$E$2:$G$100,3,FALSE),"Not found")
=XLOOKUP(A2,E:E,G:G,"Not found")