Professional Documents
Culture Documents
Table of Contents
Benefits of INDEX & MATCH vs VLOOKUP VLOOKUP Can Break When Inserting Columns VLOOKUP Can Not Look to the Left
1 Look to the Left CLASSIC FAVORITES TALL GRANDE VENTI Lookup Value Region
Caffe Latte $2.95 $3.75 $4.15 Dobbert, Susan #N/A
Emp ID Name Region Department Cappuccino $2.95 $3.65 $4.15 Dunton, Donna
10001 DeRusha, Joe East 5255-Data/Connectivity Sales Caramel Macchiato $3.75 $3.95 $4.25 Davis, Jan
10002 De Pasquale, Richard East 5256-Sales Mgt & Support Caffe Mocha $3.25 $3.95 $4.40
10003 Dobbert, Susan East 5257-Auto Sales White Chocolate Mocha $3.45 $4.15 $4.55 Region Name Depart
10004 Dillard, Susan East 5258-IAP Sales Caffe Americano $2.00 $2.40 $2.75 East DeRusha, Joe 5255-D
10005 Dunton, Donna West 5259-Sales Channel Cinnamon Dolce Latte $3.95 $4.75 $5.15 East De Pasquale, Richard 5256-Sa
10006 De Vries, John West 5262-Auto GM Steamer $2.25 $2.50 $2.75 East Dobbert, Susan 5257-A
Drip Coff ee $1.75 $1.95 $2.05 East Dillard, Susan 5258-IA
10007 De Sousa, Kristi West 5263-Sales Support
10008 Defonso, Daniel West 5264-ARD Sales West Dunton, Donna 5259-Sa
Question: What is the price of a Caffe Mocha, size Grande? West De Vries, John 5262-A
Caffe Mocha 0.00
2 Specify Single Column that contains Return Values. Easier to insert/delete columns.
INDEX/MATCH VLOOKUP
Emp ID Name Region Department Emp ID Name Region Department
MATCH Definition How the MATCH Function Works MATCH Returns the Column Number
MATCH Returns the RELATIVE row or column number of the lookup value MATCH Returns the RELATIVE row or column nu
INDEX Definition How the INDEX Function Works INDEX + MATCH Instead of VLOOKUP
INDEX + MATCH Compared to VLOOKUP Lookup to the Left with INDEX/MATCH INDEX MATCH for Both Row and Column
CLASSIC FAVORITES TALL GRANDE VENTI Emp ID Region Name Department Month Year Sales Discounts CLASSIC FAVORITES TALL GRANDE
Caffe Latte $2.95 $3.75 $4.15 10001 East DeRusha, Joe 5255-Data/Connectivity Sales Jan FY13 100,000 25,000 Caff e Latte $2.95 $3.75
Cappuccino $2.95 $3.65 $4.15 10002 East De Pasquale, Richard 5256-Sales Mgt & Support Jan FY13 150,000 30,000 Cappuccino $2.95 $3.65
Caramel Macchiato $3.75 $3.95 $4.25 10003 East Dobbert, Susan 5257-Auto Sales Jan FY13 200,000 35,000 Caramel Macchiato $3.75 $3.95
Caffe Mocha $3.25 $3.95 $4.40 10004 East Dillard, Susan 5258-IAP Sales Jan FY13 250,000 40,000 Caff e Mocha $3.25 $3.95
White Chocolate Mocha $3.45 $4.15 $4.55 10005 West Dunton, Donna 5259-Sales Channel Jan FY13 300,000 45,000 White Chocolate Mocha $3.45 $4.15
10006 West De Vries, John 5262-Auto GM Jan FY13 350,000 50,000
INDEX Returns a Cell's Value based on the specified row & column numbers 10007 West De Sousa, Kristi 5263-Sales Support Jan FY13 400,000 55,000 Use MATCH for both Row and Column numbers.
Caffe Mocha 3.95 <- INDEX MATCH Formula 10008 West Defonso, Daniel 5264-ARD Sales Jan FY13 450,000 60,000 Item Size Price
Caffe Mocha 0 <- VLOOKUP Formula breaks when columns are inserted. Cappuccino VENTI 4.15
Most Common Error with INDEX MATCH Create Relationships Between Data Sets - Lookup Tables State Code Region
AK West
AL South
CLASSIC FAVORITES TALL GRANDE VENTI Order ID Customer ID City State Revenue Region Region Table
Caffe Latte $2.95 $3.75 $4.15 AR South
1001 27 Las Vegas NV $686.00 #REF! West
AZ West
Cappuccino $2.95 $3.65 $4.15 1002 27 Las Vegas NV $164.50 #REF! West
CA West
Caramel Macchiato $3.75 $3.95 $4.25 1003 4 New York NY $2,070.00 #REF! Northeast
CO West
Caffe Mocha $3.25 $3.95 $4.40 1004 4 New York NY $4,717.00 #REF! Northeast
CT Northeast
White Chocolate Mocha $3.45 $4.15 $4.55 1005 4 New York NY $38.50 #REF! Northeast
DC South
1006 12 Las Vegas NV $1,458.00 #REF! West
DE South
INDEX array and MATCH lookup_array arguments must be same number of rows/cols. 1007 12 Las Vegas NV $2,024.00 #REF! West
FL South
White Chocolate Mocha #REF! 1008 8 Portland OR $349.60 #REF! West
GA South
1009 4 New York NY $809.60 #REF! Northeast HI West
1010 29 Denver CO $1,198.50 West West IA Midwest
1011 3 Los Angelas CA $878.15 West West ID West
1012 6 Milwaukee WI $1,280.00 #REF! Midwest IL Midwest
1013 28 Memphis TN $2,530.00 #REF! South IN Midwest
1014 8 Portland OR $599.25 #REF! West KS Midwest
1015 10 Chicago IL $269.10 Midwest Midwest KY South
1016 7 Boise ID $1,104.00 West West LA South
1017 10 Chicago IL $850.00 Midwest Midwest MA Northeast
1018 10 Chicago IL $374.00 Midwest Midwest MD South
1019 10 Chicago IL $404.80 Midwest Midwest ME Northeast
1020 11 Miami FL $283.50 South South MI Midwest
1021 11 Miami FL $146.51 South South MN Midwest
1022 1 Seattle WA $756.00 #REF! West MO Midwest
1023 1 Seattle WA $2,668.00 #REF! West MS
1024 1 Seattle WA $200.33 #REF! West MT West
VLOOKUP to Left
MATCH Returns the RELATIVE row or column number of the lookup value
Grande 2
INDEX Returns a Cell's Value based on the specified row & column numbers
Caff e Mocha 3.95
Region
Benefits of INDEX & MATCH vs VLOOKUP
2 Specify Single Column that contains Return Values. Easier to insert/delete columns.
INDEX/MATCH VLOOKUP
Emp ID Name Region Department Emp ID
10001 DeRusha, Joe East 5255-Data/Connectivity Sales 10001
10002 De Pasquale, Richard East 5256-Sales Mgt & Support 10002
10003 Dobbert, Susan East 5257-Auto Sales 10003
10004 Dillard, Susan East 5258-IAP Sales 10004
10005 Dunton, Donna West 5259-Sales Channel 10005
10006 De Vries, John West 5262-Auto GM 10006
10007 De Sousa, Kristi West 5263-Sales Support 10007
10008 Defonso, Daniel West 5264-ARD Sales 10008
VLOOKUP
Name Region Department
DeRusha, Joe East 5255-Data/Connectivity Sales
De Pasquale, Richard East 5256-Sales Mgt & Support
Dobbert, Susan East 5257-Auto Sales
Dillard, Susan East 5258-IAP Sales
Dunton, Donna West 5259-Sales Channel
De Vries, John West 5262-Auto GM
De Sousa, Kristi West 5263-Sales Support
Defonso, Daniel West 5264-ARD Sales
VLOOKUP Can Break When Inserting Columns
MATCH Returns the RELATIVE row or column number of the lookup value
Caffe Mocha 4
MATCH Returns the Column Number
MATCH Returns the RELATIVE row or column number of the lookup value
Grande 2
INDEX Definition
INDEX
INDEX Returns
Returns aa Cell's
Cell's Value
Value
based
based on the intersection of
on the intersection of
the
the row and column number of
row and column number of
aa range.
range.
Full Article:
http://www.excelcampus.com/functions/inde
.excelcampus.com/functions/index-function-explained/
How the INDEX Function Works
INDEX Returns a Cell's Value based on the specified row & column numbers
INDEX Returns a Cell's Value based on the specified row & column numbers
INDEX Returns a Cell's Value based on the specified row & column numbers
INDEX array and MATCH lookup_array arguments must be same number of rows/cols.