Use of Excel Lookup for approximate values
lookup
lookup(find what,From where,what to get)
=LOOKUP(B8,A2:A7,B2:B7)
Main points:
- Rang of “from Where” should be same as “what to get” like A2:A7 = B2:B7
- From Where should be in ascending order.
- Value A3 – A2 will give same result as A2.
Item Code | Product | Price |
110 | USB Hub | 100 |
115 | USB Mouse | 150 |
120 | USB Keyboard | 200 |
125 | USB Speaker | 300 |
130 | USB Lan Card | 400 |
135 | USB Drive | 700 |
Enter Code | 115 | |
Product | =LOOKUP(B8,A2:A7,B2:B7) | USB Keyboard |
Price | =LOOKUP(B8,A2:A7,C2:C7) | 150 |