if, lookup, vlookup??

samway301

New Member
Joined
Aug 10, 2017
Messages
4
good morning! I have a list on a worksheet (Registration) that contains information in the table below: (there are 4 people per hole) this spreadsheet will eventually have 40 holes or so, and 400ish people.

P R S W X AB AC AG AH
[TABLE="width: 500"]
<tbody>[TR]
[TD]Hole[/TD]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[/TR]
[TR]
[TD]1A[/TD]
[TD]bob[/TD]
[TD]smith[/TD]
[TD]dog[/TD]
[TD]cat[/TD]
[TD]one[/TD]
[TD]two[/TD]
[TD]three[/TD]
[TD]four[/TD]
[/TR]
[TR]
[TD]1B[/TD]
[TD]susan[/TD]
[TD]bobby[/TD]
[TD]sign[/TD]
[TD]here[/TD]
[TD]aw[/TD]
[TD]eel[/TD]
[TD]bug[/TD]
[TD]rug[/TD]
[/TR]
</tbody>[/TABLE]

I have another worksheet called "standings sheet" that i want displayed like this:

A B C D
[TABLE="width: 500"]
<tbody>[TR]
[TD]1A[/TD]
[TD]bob smith[/TD]
[TD]1B[/TD]
[TD]susan bobby[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]dog cat[/TD]
[TD][/TD]
[TD]sign here[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]one two[/TD]
[TD][/TD]
[TD]aw eel[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]three four[/TD]
[TD][/TD]
[TD]bug rug[/TD]
[/TR]
</tbody>[/TABLE]

is there a formula out there that'll find "1A" on the registration sheet, and display the 4 names, vertically on the standings sheet? Additionally, (if possible), i'd like the standing sheet to update the names, if the holes change on the registration sheet.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
this works for your current setup


Excel 2012
PRSWXABACAGAH
1HoleFirst NameLast NameFirst NameLast NameFirst NameLast NameFirst NameLast Name
21Abobsmithdogcatonetwothreefour
31Bsusanbobbysignhereaweelbugrug
43AC1C2C6C7C11C12C16C17
53BD1D2D6D7D11D12D16D17
6
Registration



Excel 2012
ABCD
11Abob smith1Bsusan bobby
2dog catsign here
3one twoaw eel
4three fourbug rug
Standings
Cell Formulas
RangeFormula
B1{=INDEX(Registration!$A:$AH,MATCH(A$1,Registration!$P:$P,0),SMALL(IF(Registration!$A$1:$AH$1="First Name",COLUMN(Registration!$A$1:$AH$1),""),ROW(A1)-ROW($A$1)+1))&" "&INDEX(Registration!$A:$AH,MATCH(A$1,Registration!$P:$P,0),SMALL(IF(Registration!$A$1:$AH$1="Last Name",COLUMN(Registration!$A$1:$AH$1),""),ROW(A1)-ROW($A$1)+1))}
D1{=INDEX(Registration!$A:$AH,MATCH(C$1,Registration!$P:$P,0),SMALL(IF(Registration!$A$1:$AH$1="First Name",COLUMN(Registration!$A$1:$AH$1),""),ROW(C1)-ROW($A$1)+1))&" "&INDEX(Registration!$A:$AH,MATCH(C$1,Registration!$P:$P,0),SMALL(IF(Registration!$A$1:$AH$1="Last Name",COLUMN(Registration!$A$1:$AH$1),""),ROW(C1)-ROW($A$1)+1))}
Press CTRL+SHIFT+ENTER to enter array formulas.



Excel 2012
ABCD
13AC1 C23BD1 D2
2C6 C7D6 D7
3C11 C12D11 D12
4C16 C17D16 D17
Standings
 
Upvote 0
this works for your current layout


Excel 2012
PRSWXABACAGAH
1HoleFirst NameLast NameFirst NameLast NameFirst NameLast NameFirst NameLast Name
21Abobsmithdogcatonetwothreefour
31Bsusanbobbysignhereaweelbugrug
Registration



Excel 2012
ABCD
11Abob smith1Bsusan bobby
2dog catsign here
3one twoaw eel
4three fourbug rug
Standings
Cell Formulas
RangeFormula
B1{=INDEX(Registration!$A:$AH,MATCH(A$1,Registration!$P:$P,0),SMALL(IF(Registration!$A$1:$AH$1="First Name",COLUMN(Registration!$A$1:$AH$1),""),ROW(A1)-ROW($A$1)+1))&" "&INDEX(Registration!$A:$AH,MATCH(A$1,Registration!$P:$P,0),SMALL(IF(Registration!$A$1:$AH$1="Last Name",COLUMN(Registration!$A$1:$AH$1),""),ROW(A1)-ROW($A$1)+1))}
D1{=INDEX(Registration!$A:$AH,MATCH(C$1,Registration!$P:$P,0),SMALL(IF(Registration!$A$1:$AH$1="First Name",COLUMN(Registration!$A$1:$AH$1),""),ROW(C1)-ROW($A$1)+1))&" "&INDEX(Registration!$A:$AH,MATCH(C$1,Registration!$P:$P,0),SMALL(IF(Registration!$A$1:$AH$1="Last Name",COLUMN(Registration!$A$1:$AH$1),""),ROW(C1)-ROW($A$1)+1))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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