Vlookup - 1
Vlookup - 1
VLOOKUP
Using VLOOKUP is similar to looking up a person’s name in a telephone book to get a telephone number.
VLOOKUP looks at a value in one column, and finds its corresponding value on the same row in another co
In simple terms, the VLOOKUP function says the following to Excel: “Look for this piece of information (e.g. empid), in this dat
me some corresponding information about it (e.g., the salary of employee)”.
Arguments
lookup_value
table_array
col_index_num
range_lookup
VLOOKUP
Most common because most lookup tables like tax tables and price tables are orientated vertically
milar to looking up a person’s name in a telephone book to get a telephone number.
OOKUP looks at a value in one column, and finds its corresponding value on the same row in another column.
VLOOKUP function says the following to Excel: “Look for this piece of information (e.g. empid), in this data set (a table), and tell
me some corresponding information about it (e.g., the salary of employee)”.
Descriptions
The data you want to look up. This value can be a number, text, a logical value, or a name or cell reference that
refers to a value.
The lookup table. The first column must have the values to look up such as employee id in our example. The other
columns can have data that you want to retrieve such as his name, Designation, salary.
The number of the column containing the data you want to retrieve. The number 1 indicates that first column; 2
indicates the second column.
The type of lookup you want to perform: TRUE or FALSE. With TRUE (the default-Approximate match).When the
lookup type is TRUE, the first column must be sorted in ascending order, otherwise the VLOOKUP might not retrieve
the correct value. With FALSE, the VLOOKUP looks for an exact match of the lookup_value.
Example
Empid Salary
1002 24566
EXACT MATCH
using vlookup
Date Product County Code Units Sales Sales Category
12/16/2018 samsung USA 36 263.52
1/18/2018 nokia ESP 2 32.78
2/13/2018 oppo POL 2 37.82
11/20/2018 lava ARE 2 38.4
11/18/2018 vivi CZE 2 32.5
12/18/2018 life USA 1 10.59
4/16/2018 samsung UKR 4 55
5/12/2018 nokia USA 3 38.34
11/28/2018 oppo USA 2 23.62
6/16/2018 lava ISL 2 39.76
4/6/2018 vivi ESP 4 71.04
11/14/2018 life POL 2 34.28
8/29/2018 samsung DOM 2 23.12
6/20/2018 nokia BRA 3 36.39
12/17/2018 oppo CAN 1 12.22
5/26/2018 lava IND 2 24.86
12/2/2018 vivi CAN 3 45.6
10/15/2018 life ITA 2 28.76
5/5/2018 samsung ARG 3 54.57
11/14/2018 nokia ARM 4 73.88
12/17/2018 oppo USA 2 39.1
9/17/2018 lava NAM 1 10.83
12/28/2018 vivi VEN 4 53.96
2/12/2018 life NAM 48 345.17
Contract Reads: if you have sales of $20,000 or more,
you earn a 5% bonus, otherwise you get a 1%
bonus
Contract Reads:
If you have sales of less than ₹ 0 you get Bonus Comm. % commission,
If you have sales of ₹ 0 or more you get 0.00% commission,
If you have sales of ₹ 10,000 or more you get 1.00% commission,
If you have sales of ₹ 20,000 or more you get 2.00% commission,
If you have sales of ₹ 30,000 or more you get 4.00% commission,
If you have sales of ₹ 40,000 or more you get 5.00% commission,
If you have sales of ₹ 50,000 or more you get 6.00% commission,
If you have sales of ₹ 60,000 or more you get 7.50% commission,
Contract Reads:
If you have sales of less than ₹ 10,000 you get 0.00% commission,
If you have sales of ₹ 10,000 or more you get 1.00% commission,
If you have sales of ₹ 20,000 or more you get 2.00% commission,
If you have sales of ₹ 30,000 or more you get 4.00% commission,
If you have sales of ₹ 40,000 or more you get 5.00% commission,
If you have sales of ₹ 50,000 or more you get 6.00% commission,
If you have sales of ₹ 60,000 or more you get 7.50% commission,
Hurdle
250
Sales Category
0 Below Par
100 Par
250 Average
500 Above Average
600 Excellent
Sales Category
0 Below Par
100 Par
250 Average
500 Above Average
600 Excellent