Dashboard Mode - XLOOKUP function
Goal
Find product prices quickly by looking up product names in a list.
Find product prices quickly by looking up product names in a list.
| Product | Price |
|---|---|
| Apple | 1.20 |
| Banana | 0.50 |
| Carrot | 0.30 |
| Date | 1.50 |
| Eggplant | 0.80 |
=XLOOKUP(D2, A2:A6, B2:B6, "Not found")+----------------------+------------------+ | Product List | Lookup Product | | (A2:B6 Table) | [Input D2] | | | Price: [D3] | +----------------------+------------------+
User types a product name in cell D2. The price in D3 updates automatically using the XLOOKUP formula. If the product is not in the list, it shows "Not found".
If you type "Carrot" in D2, what price appears in D3? (Answer: 0.30)
If you type "Orange" in D2, what appears in D3? (Answer: Not found)