My problem is as follows:
1) A set of sample data A1 to E15 as shown in attached file is there, in an Excel file. Data starts from cell A1 and extends to E15. Results are to be furnished in Columns L to P.
2) Names of Team 1 figure in Column B and Team 2 under Column C, for the game sequence played in a tournament.
3) Team 1 (in Column B) plays a game with Team 2 (in Column C) and it can happen at some stage of play sequence that Team 2 (Column B) plays with Team 1 (Column C); Hence the names gets interchanged in the two columns.
4) The Column D and E furnishes the match results of the teams under Column B and C respectively, at games play sequence number;
5) We need to find the cells in multi columns (here from two columns B and C) for the unique values sorted alphabetically and stored as values in Column K which match to the random values in B and C;
6) The corresponding result for the team is to be picked by the results wherever the team names figures and in the order of games played.
e. g. 'JApan' team name figures in cells C5, B9 and B14. The corresponding results of team 'Japan' are in cells E5, D9 and D14 which are 'Lost', 'Lost', 'Won'.
7) Results to be put under Columns L to P in front of the unique team names in Column K.
8) The results needs to be given as results in reverse with a '-' in the fourth result (since Japan in the data given do not play the fourth game.
9) The maximum number of results that needs to be shown are for last five games played.
10) The results to update automatically and display only the last five results for the team played with the result of the most recent game played shown first in Column L; the result of the game played before that under Column M and so on [For Five columns only].
Please furnish the Solution along with the formulae used (NO MACROS)
1) A set of sample data A1 to E15 as shown in attached file is there, in an Excel file. Data starts from cell A1 and extends to E15. Results are to be furnished in Columns L to P.
2) Names of Team 1 figure in Column B and Team 2 under Column C, for the game sequence played in a tournament.
3) Team 1 (in Column B) plays a game with Team 2 (in Column C) and it can happen at some stage of play sequence that Team 2 (Column B) plays with Team 1 (Column C); Hence the names gets interchanged in the two columns.
4) The Column D and E furnishes the match results of the teams under Column B and C respectively, at games play sequence number;
5) We need to find the cells in multi columns (here from two columns B and C) for the unique values sorted alphabetically and stored as values in Column K which match to the random values in B and C;
6) The corresponding result for the team is to be picked by the results wherever the team names figures and in the order of games played.
e. g. 'JApan' team name figures in cells C5, B9 and B14. The corresponding results of team 'Japan' are in cells E5, D9 and D14 which are 'Lost', 'Lost', 'Won'.
7) Results to be put under Columns L to P in front of the unique team names in Column K.
8) The results needs to be given as results in reverse with a '-' in the fourth result (since Japan in the data given do not play the fourth game.
9) The maximum number of results that needs to be shown are for last five games played.
10) The results to update automatically and display only the last five results for the team played with the result of the most recent game played shown first in Column L; the result of the game played before that under Column M and so on [For Five columns only].
Please furnish the Solution along with the formulae used (NO MACROS)
Last edited by a moderator: