Vlookup Index Match - Students

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 17

Important points to remember when using vlookup.

VLOOKUP works in a left to right order, so you need to ensure that the information you want to look up is to the left of the cor

Fruit Price
#N/A

In Stock? Price($/lb) Fruit


Yes 7.25 Grapes
Yes 12.32 Mangos
Yes 5.42 Bananas
No 7.18 Pineapple
Yes 8.99 Organges
p is to the left of the corresponding data you want to extract.
CLASSIC FAVORITES TALL GRANDE VENTI
Caffe Latte $2.95 $3.75 $4.15
Cappuccino $2.95 $3.65 $4.15
Caramel Macchiato $3.75 $3.95 $4.25
Caffe Mocha $3.25 $3.95 $4.40
White Chocolate Mocha $3.45 $4.15 $4.55
Caffe Americano $2.00 $2.40 $2.75
Cinnamon Dolce Latte $3.95 $4.75 $5.15
Steamer $2.25 $2.50 $2.75
Drip Coffee $1.75 $1.95 $2.05

Classic Favorites/Size Venti


Caffe Latte 4.15
Name Math Physics Chemistry Biology Physics
Matt 39 52 57 44 Tom 59
Bob 51 79 62 46
Tom 89 59 79 58
Brad 42 81 68 58
Jenny 51 59 49 77
Maria 57 67 49 61
Jill 74 70 89 53
Josh 43 59 78 53
29 85
50 154
46 Which no is there at 8th position 145
50 39 194
21 38
10 12
35 166
39 116
14 198
30 190
20 188
48 147
38 118
22 165
40 146
177 84
55 56
111 51 Which no. is at 8th row, 3 column
81 124 197
140 13
121 191
123 94
33 197
103 145
82 39
106 31
60 164
105 42
121 45
170 47
ID First Name Last Name Salary ID 53
72 Emily Smith $64,901 Salary 5
66 James Anderson $70,855
14 Mia Clark $188,657
30 John Lewis $97,566
53 Jessica Walker $58,339
56 Mark Reed $125,180
79 Richard Lopez $91,632

The MATCH function returns the position of a value in a


given range. For example, the MATCH function below
looks up the value 53 in the range B3:B9.
ID First Name Last Name Salary ID 66
72 Emily Smith $64,901 Salary $70,855
66 James Anderson $70,855
14 Mia Clark $188,657
30 John Lewis $97,566
53 Jessica Walker $58,339
56 Mark Reed $125,180
79 Richard Lopez $91,632

The INDEX function below returns a specific value in a one-


dimensional range.
First Name Last Name Salary ID ID 14
Emily Smith $64,901 72 Salary $188,657
James Anderson $70,855 66
Mia Clark $188,657 14
John Lewis $97,566 30
Jessica Walker $58,339 53
Mark Reed $125,180 56
Richard Lopez $91,632 79

Replace the value 5 in the INDEX function (see previous


example) with the MATCH function (see first example) to
lookup the salary of ID 53.
Left to right lookup

ction (see previous


ee first example) to
D 53.
Chocolate StrawberryVanilla
Jan 544 639 189 Month jun
Feb 217 719 679 Flavour Chocolate
Mar 810 178 810
Apr 567 926 929 Sales 298
May 745 230 364 298
Jun 298 820 947
Jul 457 522 832
Aug 495 500 239
Sep 871 391 529
Oct 585 225 791
Nov 478 262 540
Dec 741 883 809
YR2012 Jan Feb Mar Apr May Jun Jul Aug Sep
Tom 10,389 45,304 35,153 33,556 52,872 14,419 34,019 17,475 22,911
Bob 45,101 60,667 44,737 37,265 14,616 37,142 22,470 18,530 43,423
Chuck 35,881 25,352 62,335 19,802 35,917 73,647 33,939 30,368 26,328
Nick 45,557 12,754 69,534 40,570 34,881 40,814 15,230 48,208 63,118
Beth 46,425 46,471 63,132 55,651 21,529 62,123 65,022 70,426 38,330
Fred 69,941 48,166 51,935 43,760 42,364 15,864 35,295 26,862 10,050
Sally 64,049 69,278 38,543 41,016 51,533 15,223 55,837 59,466 66,084
Tim 18,499 27,886 40,687 40,691 51,520 46,437 34,587 17,879 38,103
Joan 29,744 41,361 54,885 18,430 44,615 40,450 48,801 51,445 34,430

Salesperson: Beth
Month: May
Sales: $ 21,529.00
Oct Nov Dec
28,337 36,213 22,567
44,543 28,600 64,133
65,859 69,606 68,467
47,011 43,411 19,977
27,789 12,495 20,590
20,350 32,392 49,994
39,741 41,331 30,963
21,866 38,837 37,432
59,232 51,977 17,717
Index & Match

EXPENSES CODE QTR 2 QTR 3 QTR 4


Grocery RGS0102 $970.00 $821.00 $998.00

S.NO CODE EXPENSES JAN FEB MAR


1 RGS0101 Housing $1,500.00 $1,500.00 $1,500.00

2 RGS0102 Grocery $250.00 $331.00 $299.00

3 RGS0103 Car payment $345.00 $345.00 $345.00

4 RGS0104 Insurance $120.00 $120.00 $120.00

5 RGS0105 Home phone $50.00 $50.00 $50.00

6 RGS0106 Cell phone $72.00 $70.00 $80.00

7 RGS0107 Cable TV $60.00 $63.00 $65.00

8 RGS0108 Internet $45.00 $45.00 $45.00

9 RGS0109 Electricity $155.00 $155.00 $158.00

10 RGS0110 Water $35.00 $35.00 $37.00

11 RGS0111 Gas $50.00 $45.00 $40.00

12 RGS0112 Entertainment $123.00 $92.00 $58.00

13 RGS0113 Tuition $550.00 $550.00 $550.00

14 RGS0114 Savings $200.00 $225.00 $300.00

TOTAL EXPENSES $3,555.00 $3,626.00 $3,647.00


QTR 1 APR MAY JUN QTR 2 JUL AUG
$4,500.00 $1,500.00 $1,500.00 $1,500.00 $4,500.00 $1,500.00 $1,500.00

$880.00 $333.00 $324.00 $313.00 $970.00 $338.00 $225.00

$1,035.00 $345.00 $345.00 $345.00 $1,035.00 $345.00 $345.00

$360.00 $120.00 $120.00 $120.00 $360.00 $120.00 $120.00

$150.00 $50.00 $50.00 $50.00 $150.00 $50.00 $50.00

$222.00 $70.00 $75.00 $80.00 $225.00 $90.00 $73.00

$188.00 $60.00 $65.00 $60.00 $185.00 $63.00 $60.00

$135.00 $45.00 $45.00 $45.00 $135.00 $45.00 $45.00

$468.00 $160.00 $165.00 $200.00 $525.00 $340.00 $350.00

$107.00 $39.00 $45.00 $42.00 $126.00 $42.00 $36.00

$135.00 $40.00 $42.00 $50.00 $132.00 $55.00 $40.00

$273.00 $131.00 $46.00 $105.00 $282.00 $84.00 $108.00

$1,650.00 $550.00 $550.00 $550.00 $1,650.00 $550.00 $550.00

$725.00 $200.00 $200.00 $200.00 $600.00 $250.00 $325.00

$10,828.00 $3,643.00 $3,572.00 $3,660.00 $10,875.00 $3,872.00 $3,827.00


SEP QTR 3 OCT NOV DEC QTR 4
$1,500.00 $4,500.00 $1,500.00 $1,500.00 $1,500.00 $4,500.00

$258.00 $821.00 $322.00 $338.00 $338.00 $998.00

$345.00 $1,035.00 $345.00 $345.00 $345.00 $1,035.00

$120.00 $360.00 $120.00 $120.00 $120.00 $360.00

$50.00 $150.00 $50.00 $50.00 $50.00 $150.00

$75.00 $238.00 $70.00 $90.00 $90.00 $250.00

$63.00 $186.00 $60.00 $63.00 $63.00 $186.00

$45.00 $135.00 $45.00 $45.00 $45.00 $135.00

$240.00 $930.00 $180.00 $340.00 $340.00 $860.00

$38.00 $116.00 $40.00 $42.00 $42.00 $124.00

$43.00 $138.00 $30.00 $55.00 $55.00 $140.00

$132.00 $324.00 $136.00 $84.00 $84.00 $304.00

$550.00 $1,650.00 $550.00 $550.00 $550.00 $1,650.00

$200.00 $775.00 $200.00 $250.00 $250.00 $700.00

$3,659.00 $11,358.00 $3,648.00 $3,872.00 $3,872.00 $11,392.00

You might also like