0% found this document useful (0 votes)
15 views11 pages

Vlookup - 1

The document explains the VLOOKUP function in Excel, which allows users to search for a value in one column and retrieve corresponding data from another column in a table. It details the function's arguments, including lookup_value, table_array, col_index_num, and range_lookup, and provides examples of exact and approximate matches. Additionally, it discusses the use of VLOOKUP in various scenarios, such as calculating bonuses based on sales figures.

Uploaded by

Såmarth Tyagi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views11 pages

Vlookup - 1

The document explains the VLOOKUP function in Excel, which allows users to search for a value in one column and retrieve corresponding data from another column in a table. It details the function's arguments, including lookup_value, table_array, col_index_num, and range_lookup, and provides examples of exact and approximate matches. Additionally, it discusses the use of VLOOKUP in various scenarios, such as calculating bonuses based on sales figures.

Uploaded by

Såmarth Tyagi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 11

VLOOKUP

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 EmpName Designation Salary

1001 Ekanshika Kalra Manager $30,500.00


1007 Sajjad Hussain Developer $22,890.00
1009 Karan Kapoor TL $30,200.00

1005 Jyoti Chaudhary Mis Executive $22,300.00

1002 Artu Agnihotri Analyst $24,566.00

1111 Mohit Khatri Supervisor $16,800.00

1122 Swati Sharma Developer $17,800.00


1123 Rahul Jha Coordinator $12,500.00

Empid Salary
1002 24566
EXACT MATCH

Roll Number Student Name Math Science English SST Total


100023 Ekanshika Kalra 35 $45.00 70 43 193
100034 Sajjad Hussain 42 $37.00 60 69 208
100053 Karan Kapoor 64 $23.00 64 69 220
100077 Jyoti Chaudhary 77 $63.00 49 73 262
100087 Artu Agnihotri 78 $63.00 64 68 273
100098 Mohit Khatri 37 $69.00 42 62 210
100055 Swati Sharma 72 $59.00 31 75 237
100099 Rahul Jha 66 $28.00 55 37 186

Roll Number English


100077 49

Student Name Total


Swati Sharma 237
Approximate Match

How VLOOKUP "sees" it Sales Amount Category Commission Paid


$0 <= Sales < $1,000 $0.00 Poor $0.00
$1,000 <= Sales < $2,500 $1,000.00 Average $20.00
$2,500 <= Sales < $7,000 $2,500.00 Good $100.00
$7,000 <= Sales < $10,000 $7,000.00 Very Good $250.00
$10,000 >= Sales $10,000.00 Excellent $700.00

Less than 1st value in table LOOKUP says: #N/A


1st column must be sorted biggest to smallest
leave 4th argument blank (default behavior)

Your Sales Commission


$1,100.00 20
Using if

Bonus Commission? 5% No Bonus


Employee Sales or 1% Hurdle Bonus % %
Kartik aryan 23,235.00 5.00% 20000 5.00% 1.00%
Arunish sod 34,254.00 5.00%
Karna mehrotra 86,543.00 5.00%
Anamika Singh 12,123.00 1.00%
Ekanshika Kalra 45,453.00 5.00%
Swati Singh 56,443.00 5.00%
Aman Mathur 11,112.00 1.00%
Surbhi Jain 11,232.00 1.00%

Employee Sales Bonus Commission %?


Kartik aryan 23,235.00 2.00% Sales Bonus Comm. %
Arunish sod 34,254.00 4.00% 0 0.00%
Karna mehrotra 86,543.00 7.50% 10000 1.00%
Anamika Singh 12,123.00 1.00% 20000 2.00%
Ekanshika Kalra 45,453.00 5.00% 30000 4.00%
Swati Singh 56,443.00 6.00% 40000 5.00%
Aman Mathur 11,112.00 1.00% 50000 6.00%
Surbhi Jain 11,232.00 1.00% 60000 7.50%

VLOOKUP is easier than IF when you have more than 1 of 2 items

Employee Sales Bonus Commission %?


Kartik aryan 23,235.00 2.00% Sales Bonus Comm. %
Arunish sod 34,254.00 4.00% 0 0.00%
Karna mehrotra 86,543.00 7.50% 10000 1.00%
Anamika Singh 12,123.00 1.00% 20000 2.00%
Ekanshika Kalra 45,453.00 5.00% 30000 4.00%
Swati Singh 56,443.00 6.00% 40000 5.00%
Aman Mathur 11,112.00 1.00% 50000 6.00%
Surbhi Jain 11,232.00 1.00% 60000 7.50%

Date Product County Code Units Sales Sales Category


12/16/2018 samsung USA 36 263.52 Large
1/18/2018 nokia ESP 2 32.78 Small
2/13/2018 oppo POL 2 37.82 Small
11/20/2018 lava ARE 2 38.4 Small
11/18/2018 vivi CZE 2 32.5 Small
12/18/2018 life USA 1 10.59 Small
4/16/2018 samsung UKR 4 255 Large
5/12/2018 nokia USA 3 38.34 Small
11/28/2018 oppo USA 2 23.62 Small
6/16/2018 lava ISL 2 39.76 Small
4/6/2018 vivi ESP 4 71.04 Small
11/14/2018 life POL 2 34.28 Small
8/29/2018 samsung DOM 2 23.12 Small
6/20/2018 nokia BRA 3 36.39 Small
12/17/2018 oppo CAN 1 12.22 Small
5/26/2018 lava IND 2 24.86 Small
12/2/2018 vivi CAN 3 45.6 Small
10/15/2018 life ITA 2 28.76 Small
5/5/2018 samsung ARG 3 54.57 Small
11/14/2018 nokia ARM 4 73.88 Small
12/17/2018 oppo USA 2 39.1 Small
9/17/2018 lava NAM 1 10.83 Small
12/28/2018 vivi VEN 4 53.96 Small
2/12/2018 life NAM 48 345.17 Large

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

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,

have more than 1 of 2 items to put in a cell:

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,

Large Sale = $250 or more

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

You might also like