Michaelson
New Member
- Joined
- Aug 14, 2011
- Messages
- 14
I am trying to put together a sports data spreadsheet. On the main data sheet I want to include two automatically generated columns to display the team's turnaround times between games.
This is the layout of the relevant part of the sheet. So let's say we wanted to generate this data for the highlighted team Wests Tigers. It's a simple enough matter of subtracting the date of the previous game they played from the date of their most recent game. In this case a formula that in the end boils down to '=B32-B21'
But is this possible to generate automatically?
I plan to have two columns, one for 'Home Team Turnaround' and one for away teams. So what I need is a formula that takes the date from the 'Date' column, then finds the team in question's most recent game from either the 'Home Team' or 'Away Team' column, then extracts the corresponding date for that game so it can be detracted from the initial date.
Does that make sense?
I'm thinking the round number (column A) may come in handy for this but still don't really know where to start... Any help would be greatly appreciated!
This is the layout of the relevant part of the sheet. So let's say we wanted to generate this data for the highlighted team Wests Tigers. It's a simple enough matter of subtracting the date of the previous game they played from the date of their most recent game. In this case a formula that in the end boils down to '=B32-B21'
But is this possible to generate automatically?
I plan to have two columns, one for 'Home Team Turnaround' and one for away teams. So what I need is a formula that takes the date from the 'Date' column, then finds the team in question's most recent game from either the 'Home Team' or 'Away Team' column, then extracts the corresponding date for that game so it can be detracted from the initial date.
Does that make sense?
I'm thinking the round number (column A) may come in handy for this but still don't really know where to start... Any help would be greatly appreciated!