Hi There,
I am working on a sports tournament spreadsheet that copies specific data from various columns in a source worksheet (SUCCESSFUL) into a destination sheet (TEAM) based on an index/match function. I chose an INDEX/IF and then INDEX/MATCH function after much research and trial and error - however am still having trouble getting it to work. An example of the sheets are below.
TEAM sheet (destination)
Sport Coach Name Coach School Coach Phone Manager Name Manager School Manager Phone Manager Name Manager School Manager Phone
Cricket / Boys 11 & 12
Cricket / Boys 13-18
Cricket / Girls 11 & 12
Cricket / Girls 13-18
Hockey / Boys 11-18
Hockey / Girls 11-18
Rugby League / Boys 10-14
Rugby League / Boys 16-18
Rugby League / Girls 10-14
Rugby League / Girls 16-18
SUCCESSFULL Sheet (source)
First Name Surname School School Phone Email Mobile Phone Address State Sport Position
John Smith Coombabah SHS 55123456 jsmith@school 9876543 1 The Place QLD Cricket / Boys Under 15 Coach
Ned Jones Southport SHS 55234567 nj@school 8765432 2 The Close QLD Cricket / Boys Under 19 Coach
Susan Reid Miami SHS 55345678 sr@school 7654321 3 The Avenue QLD Cricket / Boys Under 15 Manager
Kelly Monteith Robina SHS 55456789 km@school 6543210 4 The Road QLD Rugby League / Boys Under 19 Coach
Conrad Smith Mudgeeraba SHS 55567890 cs@school 5432109 5 The Crescent QLD Rugby League / Girls Under 19 Manager
Brad Jones Keebra Park SHS 55678901 bj@school 4321098 6 The View QLD Hockey / Boys Under 15 Coach
Beth Reid Coomera SHS 55789012 br@school 3210987 7 The Street QLD Hockey / Boys Under 15 Coach
Belinda Kane Surfers SHS 55890123 bk@school 2109876 8 Lindae Street QLD Rugby League / Girls Under 19 Manager
Natalie Jones Benowa SHS 55901234 nj@school 1098765 9 Taliea Street QLD Rugby League / Girls Under 15 Trainer
Harry Smith Southport SHS 55234567 hs@school 1234567 2 Rrya Street QLD Rugby League / Boys Under 19 Manager
I used the following function for the coach name
=IFERROR(INDEX(Successful!$A$2:$A$1000&" "&Successful!$B$2:$B$1000,SMALL(IF((Successful!$T$2:$T$1000="Australian Football / Boys 10-12yrs")*(Successful!$U$2:$U$1000="Coach"),ROW(Successful!$2:$1000)-ROW(Successful!$1:$1)),ROW($A1))),"")
and it works fine, but it doesn't work for the manager name, I just get the coach's name again - I'm guessing its because that's the first record it finds? I did try changing it around to a MATCH function, as below, but keep getting errors.
=IFERROR(INDEX(Successful!$A$2:$A$300&” “&Successful!$B$2:$B$300,MATCH(1,(”Australian Football / Boys 10-12yrs”,Successful!$T$2:$T$300)*(“Manager”,Successful!$U$2:$U$300),0)),””)
Also, the source doc has the first and surname split into 2 different cells (A & B) so I had to join them together into one cell. T is the column where the sports names are located and column U contains the designation (coach/manager/trainer etc).
The difficult issues are as follows:
1) The sports names are different in each sheet so using a LOOKUP function requires adding another column, which I cannot do in the left most column of the TEAM sheet because it is designed to auto populate various word documents in an outside application, so therefore cannot be adjusted that way.
2) There is only one Coach and Trainer per team but there can be 2 Managers per team, so how do I populate the first "Manager" listing with the first instance from the SUCCESSFULL sheet and the 2nd "Manager" listing with the 2nd instance...
3) The SUCCESSFUL sheet data will change every year when new coaches, managers, convenors etc. are appointed, which may mean a change in the sports descriptions again (although that can be a problem for next year... )
Any help at all I can get would be very much appreciated - I have driven myself completely nuts over the last few days reading posts, watching tutorials and reading everything I can find... so THANK YOU in advance
Cheers,
Jen
I am working on a sports tournament spreadsheet that copies specific data from various columns in a source worksheet (SUCCESSFUL) into a destination sheet (TEAM) based on an index/match function. I chose an INDEX/IF and then INDEX/MATCH function after much research and trial and error - however am still having trouble getting it to work. An example of the sheets are below.
TEAM sheet (destination)
Sport Coach Name Coach School Coach Phone Manager Name Manager School Manager Phone Manager Name Manager School Manager Phone
Cricket / Boys 11 & 12
Cricket / Boys 13-18
Cricket / Girls 11 & 12
Cricket / Girls 13-18
Hockey / Boys 11-18
Hockey / Girls 11-18
Rugby League / Boys 10-14
Rugby League / Boys 16-18
Rugby League / Girls 10-14
Rugby League / Girls 16-18
SUCCESSFULL Sheet (source)
First Name Surname School School Phone Email Mobile Phone Address State Sport Position
John Smith Coombabah SHS 55123456 jsmith@school 9876543 1 The Place QLD Cricket / Boys Under 15 Coach
Ned Jones Southport SHS 55234567 nj@school 8765432 2 The Close QLD Cricket / Boys Under 19 Coach
Susan Reid Miami SHS 55345678 sr@school 7654321 3 The Avenue QLD Cricket / Boys Under 15 Manager
Kelly Monteith Robina SHS 55456789 km@school 6543210 4 The Road QLD Rugby League / Boys Under 19 Coach
Conrad Smith Mudgeeraba SHS 55567890 cs@school 5432109 5 The Crescent QLD Rugby League / Girls Under 19 Manager
Brad Jones Keebra Park SHS 55678901 bj@school 4321098 6 The View QLD Hockey / Boys Under 15 Coach
Beth Reid Coomera SHS 55789012 br@school 3210987 7 The Street QLD Hockey / Boys Under 15 Coach
Belinda Kane Surfers SHS 55890123 bk@school 2109876 8 Lindae Street QLD Rugby League / Girls Under 19 Manager
Natalie Jones Benowa SHS 55901234 nj@school 1098765 9 Taliea Street QLD Rugby League / Girls Under 15 Trainer
Harry Smith Southport SHS 55234567 hs@school 1234567 2 Rrya Street QLD Rugby League / Boys Under 19 Manager
I used the following function for the coach name
=IFERROR(INDEX(Successful!$A$2:$A$1000&" "&Successful!$B$2:$B$1000,SMALL(IF((Successful!$T$2:$T$1000="Australian Football / Boys 10-12yrs")*(Successful!$U$2:$U$1000="Coach"),ROW(Successful!$2:$1000)-ROW(Successful!$1:$1)),ROW($A1))),"")
and it works fine, but it doesn't work for the manager name, I just get the coach's name again - I'm guessing its because that's the first record it finds? I did try changing it around to a MATCH function, as below, but keep getting errors.
=IFERROR(INDEX(Successful!$A$2:$A$300&” “&Successful!$B$2:$B$300,MATCH(1,(”Australian Football / Boys 10-12yrs”,Successful!$T$2:$T$300)*(“Manager”,Successful!$U$2:$U$300),0)),””)
Also, the source doc has the first and surname split into 2 different cells (A & B) so I had to join them together into one cell. T is the column where the sports names are located and column U contains the designation (coach/manager/trainer etc).
The difficult issues are as follows:
1) The sports names are different in each sheet so using a LOOKUP function requires adding another column, which I cannot do in the left most column of the TEAM sheet because it is designed to auto populate various word documents in an outside application, so therefore cannot be adjusted that way.
2) There is only one Coach and Trainer per team but there can be 2 Managers per team, so how do I populate the first "Manager" listing with the first instance from the SUCCESSFULL sheet and the 2nd "Manager" listing with the 2nd instance...
3) The SUCCESSFUL sheet data will change every year when new coaches, managers, convenors etc. are appointed, which may mean a change in the sports descriptions again (although that can be a problem for next year... )
Any help at all I can get would be very much appreciated - I have driven myself completely nuts over the last few days reading posts, watching tutorials and reading everything I can find... so THANK YOU in advance
Cheers,
Jen