Match and Return Multiple Values Vertically

gleichmang

New Member
Joined
Dec 28, 2011
Messages
15
Try to use a constant value on 2 sheets to return multiple corresponding results....

Sheet 1 =Roster
(Column A = Team Name)
(Column B = Players Name)

Sheet 2 = Scoresheet

End goal......
Team Name is located in cell D6 on 'scoresheet, looking for formula to reference column A of Sheet 1 (Roster) and populate all values for corresponding value of column B (Players Name)

Basically.... need a formula to pull in all players names based off of the team they are assigned to

1650223774543.png
1650223840876.png
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Book1
ABCDEF
1TeamNameTeam:Biscuit Bs
2Biscuit BsTim2016365
3Biscuit BsJimPlayer NamesPlayer Names
4Biscuit BsJohnTimTim
5Biscuit BsTomJimJim
6Apple AsBillJohnJohn
7Apple AsBobTomTom
8Apple AsCarl 
9Apple AsSteve 
Sheet11
Cell Formulas
RangeFormula
F4:F7F4=FILTER($B$2:$B$9,$A$2:$A$9=$E$1)
E4:E9E4=IFERROR(INDEX($B$2:$B$9,AGGREGATE(15,6,(1/($A$2:$A$9=$E$1))*ROW($A$2:$A$9)-ROW($A$2)+1,ROW(A1))),"")
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,912
Members
452,366
Latest member
TePunaBloke

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