How do I use LOOKUP in Excel?
Use LOOKUP when you want to return a nearby value from ordered data. Enter Lookup value, Lookup vector, Result vector in that order, then add optional arguments when needed.
Performs vector lookup in sorted data.
LOOKUP(lookup_value, lookup_vector, [result_vector])lookup_value
RequiredEnter the value you want to look up.
lookup_vector
RequiredSpecify a reference range. You can drag or click start/end cells.
result_vector
OptionalSpecify a reference range. You can drag or click start/end cells.
Use LOOKUP to return the result with these settings (Lookup value: "P003", Lookup vector: A2:A8 (Product ID in column A), Result vector: D2:D8 (Stock in column D)).
| # | AProduct ID | BProduct Name | CPrice | DStock |
|---|---|---|---|---|
| 2 | P001 | Apple | 120 | 80 |
| 3 | P002 | Banana | 98 | 120 |
| 4 | P003 | Notebook | 450 | 35 |
| 5 | P004 | Pen | 300 | 60 |
| 6 | P005 | Grapes | 150 | 45 |
| 7 | P006 | Ruler | 250 | 20 |
| 8 | P007 | Peach | 86 | 55 |
How to Use (Formula)
=LOOKUP("P003", A2:A8, D2:D8)Result
35
Use LOOKUP when you want to return a nearby value from ordered data. Enter Lookup value, Lookup vector, Result vector in that order, then add optional arguments when needed.
Use the "Start Function Practice" button to jump straight into LOOKUP drills.
The main arguments are Lookup value, Lookup vector, Result vector. Start with the required ones, then add optional arguments if needed.