kmprice710
Board Regular
- Joined
- Jan 8, 2014
- Messages
- 87
- Office Version
- 2019
- Platform
- Windows
I have a table of schools and dates that they played a basketball game.
<tbody>
</tbody>
I have another table that gives all of the teams that were ranked in the Top 20 and a date range for when the ranks were in effect:
<tbody>
</tbody>
Sometimes a school will not have been ranked at all during a season.
How do I write a vlookup or a if/then that take the school name and the game date and returns a ranking if the school was ranked between the start and end dates?
School | Game date |
Oklahoma | 12/1/1987 |
Virginia | 12/24/1987 |
Virginia | 1/10/1988 |
Oklahoma | 11/27/1988 |
Oklahoma | 11/30/1988 |
Oklahoma | 12/22/1988 |
<tbody>
</tbody>
I have another table that gives all of the teams that were ranked in the Top 20 and a date range for when the ranks were in effect:
School | Ranking | Rank start | Rank end |
Duke | 3 | 11/6/1987 | 11/13/1987 |
Duke | 6 | 10/31/1988 | 11/6/1988 |
Oklahoma | 15 | 11/20/1988 | 11/27/1988 |
North Carolina | 8 | 1/15/1989 | 1/22/1989 |
Syracuse | 12 | 3/1/1988 | 3/8/1988 |
<tbody>
</tbody>
Sometimes a school will not have been ranked at all during a season.
How do I write a vlookup or a if/then that take the school name and the game date and returns a ranking if the school was ranked between the start and end dates?
Last edited: