List what Team a Person is in

Cerebrus

New Member
Joined
Oct 13, 2016
Messages
7
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet, with two workbooks,

One has a list of every employee, the other has those same names in three separate columns each column headed with a Team Name.

I was the first sheet with the list to have a column with the team they are in next to them, and for this to update as I update the second sheet.

Is this possible?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Show us a sample spreadsheet with 8-10 records and a mocked up solution. Do not post a picture as we cannot manipulate data in a picture. Use XL2BB.
 
Upvote 0
what version of Excel are you using? this may be very easy in 365.
 
Upvote 0
This is for 3 teams and up to 28 players per team. Copy the formula in B3 down as necessary:
The formula in A3 requires 365.

Book1
ABCDEFG
1Sheet1Sheet2
2Playerteamteam1team2team3
3Player7team1Player7Player3Player1
4Player3team2Player2Player4Player15
5Player1team3Player8Player9Player11
6Player2team1Player14Player6Player10
7Player4team2Player5Player12
8Player15team3Player13
9Player8team1
10Player9team2
11Player11team3
12Player14team1
13Player6team2
14Player10team3
15Player5team1
16Player12team2
17Player13team2
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Cerebrus
Cell Formulas
RangeFormula
A3:A17A3=FILTER(TOCOL(E3:G30),LEN(TOCOL(E3:G30))>0)
B3:B17B3=INDEX( $E$2:$G$2, IF(ISNUMBER(MATCH(A3,$E$3:$E$30,0)),1, IF(ISNUMBER(MATCH(A3,$F$3:$F$30,0)),2,3)) )
Dynamic array formulas.
 
Upvote 0
Another variation.

23 05 28.xlsm
ABCDEFG
1Sheet1Sheet2
2Playerteamteam1team2team3
3Player7team1Player7Player3Player1
4Player3team2Player2Player4Player15
5Player1team3Player8Player9Player11
6Player2team1Player14Player6Player10
7Player4team2Player5Player12
8Player15team3Player13
9Player8team1
10Player9team2
11Player11team3
12Player14team1
13Player6team2
14Player10team3
15Player5team1
16Player12team2
17Player13team2
Team
Cell Formulas
RangeFormula
A3:A17A3=LET(c,TOCOL(E3:G30),FILTER(c,c<>""))
B3:B17B3=CONCAT(IF(E$3:G$30=A3,E$2:G$2,""))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,487
Messages
6,125,085
Members
449,206
Latest member
ralemanygarcia

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