Hello, I would like to ask you for a help. For lack of a better explanation I chose to entitled the problem "returning cell value based on number of occurences" which might be incorrect description. Anyway, here is the problem.
In my workbook I have eleven sheet. In the first sheet, there is a schedule of matches of teams and the rest ten sheets are each for individual team. The schedule sheet has following notation:
A B C 1 5.9.2016 Team A Team B 2 5.9.2016 Team C Team D ... 6 20.9.2016 Team C Team A
The sheet for the team A has following notation:
A B 1 Order of a game 1 2 Date of a game 5.9.2016 3 Opponent Team B 4 Venue H ... 41 Order of a game 2 42 Date of a game 20.9.2016 43 Opponent Team C 44 Venue R
Now, I would like to automatically and as simple as possible get value of an opponent team (B3, B43,..) based on schedule sheet (C1, B6). My idea was to calculate the order number of a game for a given team in schedule sheet (by COUNT) and compare it to order number in an individual sheet (B1, B41) and then return the value a an opponent. I am stuck, however. Could you please help me?
Note: A date of a game and venue values are not present in a team sheet. Those values are to be returned from the schedule sheet as well.
Bookmarks