Professional Documents
Culture Documents
Excel VLOOKUP Examples
Excel VLOOKUP Examples
Excel VLOOKUP Examples
You've been asked to come up with a way to check the price of a product when a product ID is typed into a give
Product ID 9823
Price
Product 5457
Price formula =VLOOKUP(B20,$A$6:$C$10,3,0)
Price 28
Try changing the value in the yellow cell to see the price in B22 change
Note what happens if you enter a value in B20 that isn't in the Product ID column above.
a product ID is typed into a given cell
Excel VLOOKUP example, using a nearest match
You've been asked to come up with a way to check the price of a product for a given sales quantity
The method you use should handle any sales quantity that is entered
Try changing the value in the yellow cell to see the price in B20 change
Note what happens if you enter a value in B18 that isn't in the Product ID column above.
given sales quantity
employee id employee name salary born date type
1 adnan 1000 1/1/1989 local
2 omar 50000 1/1/1989 outsource
4 khalid 4500 24/5/1991 outsource
salaries
1000
4500
adnan
omar
khalid
50000
get employee info by
employee ID
enter employee Id 1
salary 1000
name adnan
born date 1/1/1989
type local
total salaries
55500
hello I am adnan
adnan
omar
khalid
number of our employees
3
number of all employees
3
2
hello I am adnan