Get a List of Names

gtd526

Active Member
Joined
Jul 30, 2013
Messages
297
Office Version
  1. 2019
Platform
  1. Windows
Hello,
I'm trying to get a list of names.
I've tried index,match and vlookup, but how can you 'go to next listing'?
I should have 3 names, 3 names, 2 names. Use either formula or one of your own.
thank you.

Cell Formulas
RangeFormula
B2:D2B2=LOOKUP(2, 1/((COUNTIF($B$2:B2,Favs!$A$4:$A$29)=0)*(Favs!$A$4:$A$29<>"")),Favs!$A$4:$A$29)
B3:D3B3=COUNTIF('Injury List'!$A:$A,B2)
B4:D4B4=INDEX('Injury List'!$B:$B,MATCH(Injuries!B$2,'Injury List'!$A:$A,0))
B5:D5B5=VLOOKUP(B$2,'Injury List'!$A:$B,2,0)
 

Some videos you may like

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

sandy666

Banned - Rules violations
Joined
Oct 24, 2015
Messages
7,499
post representative source data and expected result
 

gtd526

Active Member
Joined
Jul 30, 2013
Messages
297
Office Version
  1. 2019
Platform
  1. Windows
post representative source data and expected result
It's another worksheet of data for source data. I didn't want to overwhelm the post data. That's why I only displayed the formulas.
I may have found a solution for the issue.
Thanks for the reply.

Cell Formulas
RangeFormula
B2:D2B2=LOOKUP(2, 1/((COUNTIF($B$2:B2,Favs!$A$4:$A$29)=0)*(Favs!$A$4:$A$29<>"")),Favs!$A$4:$A$29)
B3:D3B3=COUNTIF('Injury List'!$A:$A,B2)
B4B4=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($B$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),1))
C4C4=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($C$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),1))
D4D4=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($D$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),1))
B5B5=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($B$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),2))
C5C5=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($C$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),2))
D5D5=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($D$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),2))
B6B6=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($B$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),3))
C6C6=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($C$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),3))
D6D6=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($D$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),3))
B7B7=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($B$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),4))
C7C7=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($C$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),4))
D7D7=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($D$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),4))
B8B8=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($B$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),5))
C8C8=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($C$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),5))
D8D8=INDEX('Injury List'!$B$3:$B$200,SMALL(IF($D$2='Injury List'!$A$3:$A$200,ROW('Injury List'!$A$3:$A$200)-ROW('Injury List'!$A$3)+1),5))
Press CTRL+SHIFT+ENTER to enter array formulas.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,850
Messages
5,598,455
Members
414,239
Latest member
xnanx

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
Top