=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
| Argument | Required | Description |
|---|---|---|
| lookup_value | Required | The value you want to find. This is matched against the first column of your table. It can be a cell reference, a typed value, or a formula. Data types must match — a number will not match text containing that number. |
| table_array | Required | The range containing your data table. VLOOKUP always searches the first column of this range. Use absolute references with dollar signs so the range does not shift when you copy the formula down. |
| col_index_num | Required | Which column to return the result from, counting from the left edge of table_array starting at 1. If your table is A:D and you want column C, col_index_num is 3. |
| range_lookup | Optional | FALSE for exact match which is what you need for IDs and codes. TRUE for approximate match which requires sorted data and is used for range-based lookups. Defaults to TRUE if omitted — always specify FALSE explicitly to avoid surprises. |
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Product Code | Product Name | Category | Price |
| 2 | PRD-001 | Wireless Mouse | Peripherals | =VLOOKUP(A2,$F$2:$I$11,4,FALSE) |
| 3 | PRD-002 | USB Keyboard | Peripherals | 45.99 |
| 4 | PRD-003 | Monitor Stand | Accessories | 89.50 |
| 5 | PRD-004 | Laptop Bag | Accessories | 59.99 |
| 6 | PRD-005 | HDMI Cable | Cables | 12.99 |
| 7 | PRD-006 | Webcam HD | Peripherals | 79.00 |
| 8 | PRD-007 | Desk Lamp | Accessories | 34.50 |
| 9 | PRD-008 | USB Hub | Cables | 27.99 |
| 10 | PRD-009 | Mouse Pad XL | Accessories | 19.99 |
| 11 | PRD-010 | Headset Pro | Peripherals | 129.00 |
| A | B | C | |
|---|---|---|---|
| 1 | Employee ID | Name | Department |
| 2 | EMP-005 | Eve Taylor | =VLOOKUP(A2,$D$2:$F$11,2,FALSE) |
| 3 | EMP-001 | Alice Chen | Engineering |
| 4 | EMP-002 | Bob Smith | Marketing |
| 5 | EMP-003 | Carol Jones | Finance |
| 6 | EMP-004 | David Kim | HR |
| 7 | EMP-005 | Eve Taylor | Sales |
| 8 | EMP-006 | Frank Brown | Engineering |
| 9 | EMP-007 | Grace Lee | Marketing |
| 10 | EMP-008 | Hank Patel | Finance |
| 11 | EMP-009 | Iris Wong | HR |
=VLOOKUP(A2,HR_Table!$A:$D,3,FALSE)
=VLOOKUP(B2,PriceList!$A:$C,3,FALSE)
=VLOOKUP(C2,Accounts!$A:$E,4,FALSE)
=VLOOKUP(D2,TaxRates!$A:$B,2,FALSE)
=VLOOKUP(E2,OrgChart!$A:$C,3,FALSE)
=VLOOKUP(A2,$E$2:$G$100,3,FALSE)
=IFERROR(VLOOKUP(A2,$E$2:$G$100,3,FALSE),"Not found")
=VLOOKUP(A2,PriceTable,3,FALSE)