Vlookup with multiple matches

MrBurn5

New Member
Joined
Jul 4, 2016
Messages
48
I'm trying to cascade vlookups based off of one entry. I've been using Vlookup for a long time now and know it has a few drawbacks, and I'm hitting both of them with this example. I know it's not the proper formula to use so I'm looking for your help.

What I want to do is type in a quarterback's name in to A2. that then pulls that QB's data out of one matrix and sticks it on the second row. I then want to pull all of the intended receivers for that QB's team in rows 6-20, by matching their team to the quarterback's. In this case, I'm using Matthew Stafford from Detroit, and then looking for Detroit in the receivers matrix.

Problem 1: I know its possible, but I don't know how to search the second column in a vlookup, but still pull the players' names from the first column.

Problem 2: If I do a basic vlookup with multiple matches, it always displays the first one. Is there any way to have it go down the list and enter them in order?



Excel 2016 (Mac) 32 bit
ABCDEFGHIJKLMNO
1
2Matthew StaffordDet59239867.242627.2325.4132.2574425197
3
4
5
6Golden Tate#REF!
7Calvin Johnson
8
9
10
11
12
13QUARTERBACKS
14PlayerTeamAttCmpPctYdsYPATDTD%IntInt%LgSackLossRate
15Cam NewtonCar49529659.838377.8357.110274t3328499.4
16Tyrod TaylorBuf38024263.730358205.361.6633621299.4
17Matthew StaffordDet59239867.242627.2325.4132.2574425197
18Alex SmithKC47030765.334867.4204.371.580t4523595.4
19
20
21RECIEVERS
22PlayerTeamGmsRecYdsAvgYPGLgTDFDTarYAC
23Demaryius ThomasDen161051,30412.4281.572t663177479
24Odell Beckham Jr.NYG15961,45015.196.787t1367158590
25Delanie WalkerTen15941,08811.5772.561t652133384
26Golden TateDet16908139.0350.843650128533
27Calvin JohnsonDet16881,21413.875.957965149296
28Jordan ReedWas148795210.9468321154114468
29

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
B2=VLOOKUP($A$2,$A$15:$O$18,2,FALSE)
C2=VLOOKUP($A$2,$A$15:$O$18,3,FALSE)
D2=VLOOKUP($A$2,$A$15:$O$18,4,FALSE)
E2=VLOOKUP($A$2,$A$15:$O$18,5,FALSE)
F2=VLOOKUP($A$2,$A$15:$O$18,6,FALSE)
G2=VLOOKUP($A$2,$A$15:$O$18,7,FALSE)
H2=VLOOKUP($A$2,$A$15:$O$18,8,FALSE)
I2=VLOOKUP($A$2,$A$15:$O$18,9,FALSE)
J2=VLOOKUP($A$2,$A$15:$O$18,10,FALSE)
K2=VLOOKUP($A$2,$A$15:$O$18,11,FALSE)
L2=VLOOKUP($A$2,$A$15:$O$18,12,FALSE)
M2=VLOOKUP($A$2,$A$15:$O$18,13,FALSE)
N2=VLOOKUP($A$2,$A$15:$O$18,14,FALSE)
O2=VLOOKUP($A$2,$A$15:$O$18,15,FALSE)
B6=INDEX(A23:L28,MATCH(B2,B23:B28,1))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,221,418
Messages
6,159,790
Members
451,589
Latest member
Harold14

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top