Michaelson
New Member
- Joined
- Aug 14, 2011
- Messages
- 14
Hello all,
Here's a pic with the data I think is relevant. This is Excel 2007 on XP btw.
I need to generate four more columns:
Col AQ ('Home Team Returning From Bye')
Col AR ('Away Team Returning From Bye')
Col AS ('Home Team Backing up from Monday')
Col AT ('Away Team Backing up from Monday')
Column AQ needs to return results in instances where the Home Team's previous game was two rounds earlier. So Melbourne in round 12 above were a team coming off the bye: their previous game was in round 10.
Note: it doesn't matter whether the previous game was played at home or away. This is the same for every column.
Column AR is the same as AQ but testing the Away Teams.
Columns AS and AT have to list results where the relevant team's previously played game was on a Monday. In Round 9 pictured above Manly and Canberra played on Monday night. So for their round 10 games I need to get a positive hit for these teams in the 'Backing up from Monday' columns that apply (these teams both played away games in Round 10, so the positive results should appear in Col AT).
For these columns, just to complicate matters, I don't want it to return matches for teams whose last game was a Monday, but came before a bye. So Manly in Round 12 last played on a Monday, but they had the bye in between so I don't want to pick that up as a hit.
Thankyou in advance for any help! I've learned a lot working on this spreadsheet and have been able to do most things I've needed to do with IFs and COUNTIFS and the like, but for this I don't really know where to start!
Here's a pic with the data I think is relevant. This is Excel 2007 on XP btw.
I need to generate four more columns:
Col AQ ('Home Team Returning From Bye')
Col AR ('Away Team Returning From Bye')
Col AS ('Home Team Backing up from Monday')
Col AT ('Away Team Backing up from Monday')
Column AQ needs to return results in instances where the Home Team's previous game was two rounds earlier. So Melbourne in round 12 above were a team coming off the bye: their previous game was in round 10.
Note: it doesn't matter whether the previous game was played at home or away. This is the same for every column.
Column AR is the same as AQ but testing the Away Teams.
Columns AS and AT have to list results where the relevant team's previously played game was on a Monday. In Round 9 pictured above Manly and Canberra played on Monday night. So for their round 10 games I need to get a positive hit for these teams in the 'Backing up from Monday' columns that apply (these teams both played away games in Round 10, so the positive results should appear in Col AT).
For these columns, just to complicate matters, I don't want it to return matches for teams whose last game was a Monday, but came before a bye. So Manly in Round 12 last played on a Monday, but they had the bye in between so I don't want to pick that up as a hit.
Thankyou in advance for any help! I've learned a lot working on this spreadsheet and have been able to do most things I've needed to do with IFs and COUNTIFS and the like, but for this I don't really know where to start!