The more I use excel, the more I realize how little I know.
- In the grid below, you can see the names of baseball players in columns B-J.
- In columns AG-AO, you can see the players' positions.
My task is to come up with a formula for AP-AX that will put the players in the assigned order of row 1: P | C1B | 2B etc....
Here's the rub - there's an extra person that needs to fit into the "Utility" spot (Column AX) and I have no idea how to tell excel to map these guys to their positions and whatever is leftover, toss that in the UTIL column.
How do you do that?
Thank you in advance!
Excel 2016 (Windows) 64 bit
[TABLE="class: head"]
<tbody>[TR="bgcolor: #E0E0F0"]
[TH][/TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[TH]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"]
[TD="bgcolor: #4472C4"]P1[/TD]
[TD="bgcolor: #4472C4"]P2[/TD]
[TD="bgcolor: #4472C4"]P3[/TD]
[TD="bgcolor: #4472C4"]P4[/TD]
[TD="bgcolor: #4472C4"]P5[/TD]
[TD="bgcolor: #4472C4"]P6[/TD]
[TD="bgcolor: #4472C4"]P7[/TD]
[TD="bgcolor: #4472C4"]P8[/TD]
[TD="bgcolor: #4472C4"]Pitcher[/TD]
[TD="bgcolor: #4472C4"]POS1[/TD]
[TD="bgcolor: #4472C4"]POS2[/TD]
[TD="bgcolor: #4472C4"]POS3[/TD]
[TD="bgcolor: #4472C4"]POS4[/TD]
[TD="bgcolor: #4472C4"]POS5[/TD]
[TD="bgcolor: #4472C4"]POS6[/TD]
[TD="bgcolor: #4472C4"]POS7[/TD]
[TD="bgcolor: #4472C4"]POS8[/TD]
[TD="bgcolor: #4472C4"]POS9[/TD]
[TD="bgcolor: #4472C4"]P[/TD]
[TD="bgcolor: #4472C4"]C1B[/TD]
[TD="bgcolor: #4472C4"]2B[/TD]
[TD="bgcolor: #4472C4"]3B[/TD]
[TD="bgcolor: #4472C4"]SS[/TD]
[TD="bgcolor: #4472C4"]OF[/TD]
[TD="bgcolor: #4472C4"]OF2[/TD]
[TD="bgcolor: #4472C4"]OF3[/TD]
[TD="bgcolor: #4472C4"]UTIL[/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"]
[TD="bgcolor: #FFFF00"]Kole Calhoun[/TD]
[TD="bgcolor: #FFFF00"]Shohei Ohtani[/TD]
[TD="bgcolor: #FFFF00"]Justin Upton[/TD]
[TD="bgcolor: #FFFF00"]David Fletcher[/TD]
[TD="bgcolor: #FFFF00"]Starling Marte[/TD]
[TD="bgcolor: #FFFF00"]David Freese[/TD]
[TD="bgcolor: #FFFF00"]Francisco Cervelli[/TD]
[TD="bgcolor: #FFFF00"]Jordy Mercer[/TD]
[TD="bgcolor: #FFFF00"]Nick Pivetta[/TD]
[TD="bgcolor: #D9E1F2"]OF[/TD]
[TD="bgcolor: #D9E1F2"]OF[/TD]
[TD="bgcolor: #D9E1F2"]OF[/TD]
[TD="bgcolor: #D9E1F2"]2B[/TD]
[TD="bgcolor: #D9E1F2"]OF[/TD]
[TD="bgcolor: #D9E1F2"]3B[/TD]
[TD="bgcolor: #D9E1F2"]C1B[/TD]
[TD="bgcolor: #D9E1F2"]SS[/TD]
[TD="bgcolor: #D9E1F2"]P[/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"]
[TD="bgcolor: #FFFF00"]Shohei Ohtani[/TD]
[TD="bgcolor: #FFFF00"]Justin Upton[/TD]
[TD="bgcolor: #FFFF00"]Eric Young Jr.[/TD]
[TD="bgcolor: #FFFF00"]Kaleb Cowart[/TD]
[TD="bgcolor: #FFFF00"]Gregory Polanco[/TD]
[TD="bgcolor: #FFFF00"]Josh Harrison[/TD]
[TD="bgcolor: #FFFF00"]Francisco Cervelli[/TD]
[TD="bgcolor: #FFFF00"]Jordy Mercer[/TD]
[TD="bgcolor: #FFFF00"]Zack Greinke[/TD]
[TD]OF[/TD]
[TD]OF[/TD]
[TD]OF[/TD]
[TD]3B[/TD]
[TD]OF[/TD]
[TD]2B[/TD]
[TD]C1B[/TD]
[TD]SS[/TD]
[TD]P[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
- In the grid below, you can see the names of baseball players in columns B-J.
- In columns AG-AO, you can see the players' positions.
My task is to come up with a formula for AP-AX that will put the players in the assigned order of row 1: P | C1B | 2B etc....
Here's the rub - there's an extra person that needs to fit into the "Utility" spot (Column AX) and I have no idea how to tell excel to map these guys to their positions and whatever is leftover, toss that in the UTIL column.
How do you do that?
Thank you in advance!
Excel 2016 (Windows) 64 bit
[TABLE="class: head"]
<tbody>[TR="bgcolor: #E0E0F0"]
[TH][/TH]
[TH]
B
[/TH][TH]
C
[/TH][TH]
D
[/TH][TH]
E
[/TH][TH]
F
[/TH][TH]
G
[/TH][TH]
H
[/TH][TH]
I
[/TH][TH]
J
[/TH][TH]
AG
[/TH][TH]
AH
[/TH][TH]
AI
[/TH][TH]
AJ
[/TH][TH]
AK
[/TH][TH]
AL
[/TH][TH]
AM
[/TH][TH]
AN
[/TH][TH]
AO
[/TH][TH]
AP
[/TH][TH]
AQ
[/TH][TH]
AR
[/TH][TH]
AS
[/TH][TH]
AT
[/TH][TH]
AU
[/TH][TH]
AV
[/TH][TH]
AW
[/TH][TH]
AX
[/TH][/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"]
1
[/TD][TD="bgcolor: #4472C4"]P1[/TD]
[TD="bgcolor: #4472C4"]P2[/TD]
[TD="bgcolor: #4472C4"]P3[/TD]
[TD="bgcolor: #4472C4"]P4[/TD]
[TD="bgcolor: #4472C4"]P5[/TD]
[TD="bgcolor: #4472C4"]P6[/TD]
[TD="bgcolor: #4472C4"]P7[/TD]
[TD="bgcolor: #4472C4"]P8[/TD]
[TD="bgcolor: #4472C4"]Pitcher[/TD]
[TD="bgcolor: #4472C4"]POS1[/TD]
[TD="bgcolor: #4472C4"]POS2[/TD]
[TD="bgcolor: #4472C4"]POS3[/TD]
[TD="bgcolor: #4472C4"]POS4[/TD]
[TD="bgcolor: #4472C4"]POS5[/TD]
[TD="bgcolor: #4472C4"]POS6[/TD]
[TD="bgcolor: #4472C4"]POS7[/TD]
[TD="bgcolor: #4472C4"]POS8[/TD]
[TD="bgcolor: #4472C4"]POS9[/TD]
[TD="bgcolor: #4472C4"]P[/TD]
[TD="bgcolor: #4472C4"]C1B[/TD]
[TD="bgcolor: #4472C4"]2B[/TD]
[TD="bgcolor: #4472C4"]3B[/TD]
[TD="bgcolor: #4472C4"]SS[/TD]
[TD="bgcolor: #4472C4"]OF[/TD]
[TD="bgcolor: #4472C4"]OF2[/TD]
[TD="bgcolor: #4472C4"]OF3[/TD]
[TD="bgcolor: #4472C4"]UTIL[/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"]
2
[/TD][TD="bgcolor: #FFFF00"]Kole Calhoun[/TD]
[TD="bgcolor: #FFFF00"]Shohei Ohtani[/TD]
[TD="bgcolor: #FFFF00"]Justin Upton[/TD]
[TD="bgcolor: #FFFF00"]David Fletcher[/TD]
[TD="bgcolor: #FFFF00"]Starling Marte[/TD]
[TD="bgcolor: #FFFF00"]David Freese[/TD]
[TD="bgcolor: #FFFF00"]Francisco Cervelli[/TD]
[TD="bgcolor: #FFFF00"]Jordy Mercer[/TD]
[TD="bgcolor: #FFFF00"]Nick Pivetta[/TD]
[TD="bgcolor: #D9E1F2"]OF[/TD]
[TD="bgcolor: #D9E1F2"]OF[/TD]
[TD="bgcolor: #D9E1F2"]OF[/TD]
[TD="bgcolor: #D9E1F2"]2B[/TD]
[TD="bgcolor: #D9E1F2"]OF[/TD]
[TD="bgcolor: #D9E1F2"]3B[/TD]
[TD="bgcolor: #D9E1F2"]C1B[/TD]
[TD="bgcolor: #D9E1F2"]SS[/TD]
[TD="bgcolor: #D9E1F2"]P[/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[TD="bgcolor: #D9E1F2"][/TD]
[/TR]
[TR="bgcolor: #FFFFFF"]
[TD="bgcolor: #E0E0F0"]
3
[/TD][TD="bgcolor: #FFFF00"]Shohei Ohtani[/TD]
[TD="bgcolor: #FFFF00"]Justin Upton[/TD]
[TD="bgcolor: #FFFF00"]Eric Young Jr.[/TD]
[TD="bgcolor: #FFFF00"]Kaleb Cowart[/TD]
[TD="bgcolor: #FFFF00"]Gregory Polanco[/TD]
[TD="bgcolor: #FFFF00"]Josh Harrison[/TD]
[TD="bgcolor: #FFFF00"]Francisco Cervelli[/TD]
[TD="bgcolor: #FFFF00"]Jordy Mercer[/TD]
[TD="bgcolor: #FFFF00"]Zack Greinke[/TD]
[TD]OF[/TD]
[TD]OF[/TD]
[TD]OF[/TD]
[TD]3B[/TD]
[TD]OF[/TD]
[TD]2B[/TD]
[TD]C1B[/TD]
[TD]SS[/TD]
[TD]P[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Last edited: