Sample Data
This table lists products in column A and their prices in column B. Cell D2 contains the product name to look up. We want to find the price of the product named in D2 using XLOOKUP.
| Cell | Value |
|---|---|
| A1 | Product |
| B1 | Price |
| A2 | Apple |
| B2 | 1.2 |
| A3 | Banana |
| B3 | 0.5 |
| A4 | Cherry |
| B4 | 2 |
| D1 | Lookup Product |
| D2 | Banana |
| E1 | Price Found |