The attached is a game schedule for a pool league. I'm trying to pull the data from the Game Table to the Team Table to the corresponding matches. Eg. If i want to pull in the opponent From Game 1 on 4/11(7 vs 3) and put the opponent 3 under 7 and also put opponent 7 under 3
<tbody>
</tbody>
Date | Game 1 | Game 2 | Game 3 | Game4 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | ||||||||||||||
2/7/2019 | 1 | vs | 2 | 3 | vs | 4 | 5 | vs | 6 | 7 | vs | 8 | ||||||||||||||
2/14/2019 | 6 | vs | 8 | 5 | vs | 7 | 2 | vs | 4 | 1 | vs | 3 | ||||||||||||||
2/21/2019 | 5 | vs | 4 | 1 | vs | 8 | 7 | vs | 3 | 2 | vs | 6 | ||||||||||||||
2/28/2019 | 3 | vs | 6 | 7 | vs | 2 | 1 | vs | 5 | 8 | vs | 4 | ||||||||||||||
3/7/2019 | 7 | vs | 1 | 4 | vs | 6 | 3 | vs | 8 | 5 | vs | 2 | ||||||||||||||
3/14/2019 | 2 | vs | 3 | 8 | vs | 5 | 4 | vs | 1 | 6 | vs | 7 | How do I return the values from the table on the left to the table above? | |||||||||||||
3/21/2019 | 4 | vs | 7 | 6 | vs | 1 | 8 | vs | 2 | 3 | vs | 5 | ||||||||||||||
3/28/2019 | 5 | vs | 6 | 7 | vs | 8 | 3 | vs | 4 | 1 | vs | 2 | ||||||||||||||
4/4/2019 | 2 | vs | 4 | 1 | vs | 3 | 5 | vs | 7 | 6 | vs | 8 | ||||||||||||||
4/11/2019 | 7 | vs | 3 | 2 | vs | 6 | 1 | vs | 8 | 5 | vs | 4 | Example: | 7 | 3 | |||||||||||
4/18/2019 | 1 | vs | 5 | 8 | vs | 4 | 7 | vs | 2 | 3 | vs | 6 | ||||||||||||||
4/25/2019 | 3 | vs | 8 | 5 | vs | 2 | 4 | vs | 6 | 7 | vs | 1 |
<tbody>
</tbody>
Last edited: