widgewilliams
New Member
- Joined
- Apr 11, 2017
- Messages
- 16
Hi guys and gals.
At this stage Im not looking for a specific solution to a problem but rather ideas on how to approach something.
I have several spreadsheets of football data covering several seasons of results and odds.
eg:
<tbody>
[TD="class: xl66"]Date[/TD]
[TD="class: xl66"]HomeTeam[/TD]
[TD="class: xl66, width: 64"]AwayTeam[/TD]
[TD="class: xl66, width: 64"]Home Goals[/TD]
[TD="class: xl66, width: 64"]Away Goals[/TD]
[TD="class: xl66, width: 64"]Result[/TD]
[TD="class: xl66, width: 64"]Home Odds[/TD]
[TD="class: xl66, width: 64"]Draw Odds[/TD]
[TD="class: xl66, width: 64"]Away Odds[/TD]
[TD="class: xl66, width: 64"]H[/TD]
[TD="class: xl66, width: 64"]A[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]Arsenal[/TD]
[TD="class: xl66"]Sunderland[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]1.44[/TD]
[TD="class: xl66"]4.89[/TD]
[TD="class: xl66"]9.5[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]Fulham[/TD]
[TD="class: xl66"]Norwich[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]1.85[/TD]
[TD="class: xl66"]3.82[/TD]
[TD="class: xl66"]4.8[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]Newcastle[/TD]
[TD="class: xl66"]Tottenham[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]2.7[/TD]
[TD="class: xl66"]3.47[/TD]
[TD="class: xl66"]2.85[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]QPR[/TD]
[TD="class: xl66"]Swansea[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]A[/TD]
[TD="class: xl66"]2.1[/TD]
[TD="class: xl66"]3.55[/TD]
[TD="class: xl66"]4.2[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]Reading[/TD]
[TD="class: xl66"]Stoke[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]2.45[/TD]
[TD="class: xl66"]3.4[/TD]
[TD="class: xl66"]3.26[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]West Brom[/TD]
[TD="class: xl66"]Liverpool[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]4.38[/TD]
[TD="class: xl66"]3.61[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]West Ham[/TD]
[TD="class: xl66"]Aston Villa[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]2.3[/TD]
[TD="class: xl66"]3.46[/TD]
[TD="class: xl66"]3.51[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]19/08/12[/TD]
[TD="class: xl66"]Man City[/TD]
[TD="class: xl66"]Southampton[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]1.21[/TD]
[TD="class: xl66"]7.55[/TD]
[TD="class: xl66"]19.38[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]19/08/12[/TD]
[TD="class: xl66"]Wigan[/TD]
[TD="class: xl66"]Chelsea[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]A[/TD]
[TD="class: xl66"]6.75[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]1.67[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]20/08/12[/TD]
[TD="class: xl66"]Everton[/TD]
[TD="class: xl66"]Man United[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]4.45[/TD]
[TD="class: xl66"]3.71[/TD]
[TD="class: xl66"]1.91[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]22/08/12[/TD]
[TD="class: xl66"]Chelsea[/TD]
[TD="class: xl66"]Reading[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]1.29[/TD]
[TD="class: xl66"]6.2[/TD]
[TD="class: xl66"]14[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Aston Villa[/TD]
[TD="class: xl66"]Everton[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]A[/TD]
[TD="class: xl66"]3.25[/TD]
[TD="class: xl66"]3.4[/TD]
[TD="class: xl66"]2.6[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Chelsea[/TD]
[TD="class: xl66"]Newcastle[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]1.53[/TD]
[TD="class: xl66"]4.55[/TD]
[TD="class: xl66"]7[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Man United[/TD]
[TD="class: xl66"]Fulham[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]1.33[/TD]
[TD="class: xl66"]5.52[/TD]
[TD="class: xl66"]12[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Norwich[/TD]
[TD="class: xl66"]QPR[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]2.38[/TD]
[TD="class: xl66"]3.52[/TD]
[TD="class: xl66"]3.25[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Southampton[/TD]
[TD="class: xl66"]Wigan[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]A[/TD]
[TD="class: xl66"]2.2[/TD]
[TD="class: xl66"]3.53[/TD]
[TD="class: xl66"]3.65[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Swansea[/TD]
[TD="class: xl66"]West Ham[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]2.15[/TD]
[TD="class: xl66"]3.47[/TD]
[TD="class: xl66"]3.85[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Tottenham[/TD]
[TD="class: xl66"]West Brom[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]1.54[/TD]
[TD="class: xl66"]4.53[/TD]
[TD="class: xl66"]7.5[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]26/08/12[/TD]
[TD="class: xl66"]Liverpool[/TD]
[TD="class: xl66"]Man City[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]3.15[/TD]
[TD="class: xl66"]3.45[/TD]
[TD="class: xl66"]2.48[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]D[/TD]
</tbody>
Data extends up to 3000 rows for some leagues.
Somehow, I would like to do two similar things.
The first is to identify only those games where the home team has WON 4 out of their 5 PREVIOUS home games, AND where the away team has LOST 4 out of PREVIOUS last 5 away games.
Specifically any game where the home teams previous form is WWWWD, WWWDW, WWDWW, WDWWW, DWWWW. The away team form combination is abit more complex with 112 possibilities but basically no more than 1 win in their last 5 games
While the second is to identify only those games where there have been 2 or more goals in 4 of the home teams last 5 games, AND 2 or more goals in 4 of the away teams last 5 away games.
Is this something that is even possible in Excel?
If it is, I'd really appreciate some general advice on how you would go about approaching the task?
At this stage Im not looking for a specific solution to a problem but rather ideas on how to approach something.
I have several spreadsheets of football data covering several seasons of results and odds.
eg:
<tbody>
[TD="class: xl66"]Date[/TD]
[TD="class: xl66"]HomeTeam[/TD]
[TD="class: xl66, width: 64"]AwayTeam[/TD]
[TD="class: xl66, width: 64"]Home Goals[/TD]
[TD="class: xl66, width: 64"]Away Goals[/TD]
[TD="class: xl66, width: 64"]Result[/TD]
[TD="class: xl66, width: 64"]Home Odds[/TD]
[TD="class: xl66, width: 64"]Draw Odds[/TD]
[TD="class: xl66, width: 64"]Away Odds[/TD]
[TD="class: xl66, width: 64"]H[/TD]
[TD="class: xl66, width: 64"]A[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]Arsenal[/TD]
[TD="class: xl66"]Sunderland[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]1.44[/TD]
[TD="class: xl66"]4.89[/TD]
[TD="class: xl66"]9.5[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]Fulham[/TD]
[TD="class: xl66"]Norwich[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]1.85[/TD]
[TD="class: xl66"]3.82[/TD]
[TD="class: xl66"]4.8[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]Newcastle[/TD]
[TD="class: xl66"]Tottenham[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]2.7[/TD]
[TD="class: xl66"]3.47[/TD]
[TD="class: xl66"]2.85[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]QPR[/TD]
[TD="class: xl66"]Swansea[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]5[/TD]
[TD="class: xl66"]A[/TD]
[TD="class: xl66"]2.1[/TD]
[TD="class: xl66"]3.55[/TD]
[TD="class: xl66"]4.2[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]Reading[/TD]
[TD="class: xl66"]Stoke[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]2.45[/TD]
[TD="class: xl66"]3.4[/TD]
[TD="class: xl66"]3.26[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]West Brom[/TD]
[TD="class: xl66"]Liverpool[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]4.38[/TD]
[TD="class: xl66"]3.61[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]18/08/12[/TD]
[TD="class: xl66"]West Ham[/TD]
[TD="class: xl66"]Aston Villa[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]2.3[/TD]
[TD="class: xl66"]3.46[/TD]
[TD="class: xl66"]3.51[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]19/08/12[/TD]
[TD="class: xl66"]Man City[/TD]
[TD="class: xl66"]Southampton[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]1.21[/TD]
[TD="class: xl66"]7.55[/TD]
[TD="class: xl66"]19.38[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]19/08/12[/TD]
[TD="class: xl66"]Wigan[/TD]
[TD="class: xl66"]Chelsea[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]A[/TD]
[TD="class: xl66"]6.75[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]1.67[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]20/08/12[/TD]
[TD="class: xl66"]Everton[/TD]
[TD="class: xl66"]Man United[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]4.45[/TD]
[TD="class: xl66"]3.71[/TD]
[TD="class: xl66"]1.91[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]22/08/12[/TD]
[TD="class: xl66"]Chelsea[/TD]
[TD="class: xl66"]Reading[/TD]
[TD="class: xl66"]4[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]1.29[/TD]
[TD="class: xl66"]6.2[/TD]
[TD="class: xl66"]14[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Aston Villa[/TD]
[TD="class: xl66"]Everton[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]A[/TD]
[TD="class: xl66"]3.25[/TD]
[TD="class: xl66"]3.4[/TD]
[TD="class: xl66"]2.6[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Chelsea[/TD]
[TD="class: xl66"]Newcastle[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]1.53[/TD]
[TD="class: xl66"]4.55[/TD]
[TD="class: xl66"]7[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Man United[/TD]
[TD="class: xl66"]Fulham[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]1.33[/TD]
[TD="class: xl66"]5.52[/TD]
[TD="class: xl66"]12[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Norwich[/TD]
[TD="class: xl66"]QPR[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]2.38[/TD]
[TD="class: xl66"]3.52[/TD]
[TD="class: xl66"]3.25[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Southampton[/TD]
[TD="class: xl66"]Wigan[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]A[/TD]
[TD="class: xl66"]2.2[/TD]
[TD="class: xl66"]3.53[/TD]
[TD="class: xl66"]3.65[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Swansea[/TD]
[TD="class: xl66"]West Ham[/TD]
[TD="class: xl66"]3[/TD]
[TD="class: xl66"]0[/TD]
[TD="class: xl66"]H[/TD]
[TD="class: xl66"]2.15[/TD]
[TD="class: xl66"]3.47[/TD]
[TD="class: xl66"]3.85[/TD]
[TD="class: xl66"]W[/TD]
[TD="class: xl66"]L[/TD]
[TD="class: xl66"]25/08/12[/TD]
[TD="class: xl66"]Tottenham[/TD]
[TD="class: xl66"]West Brom[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]1.54[/TD]
[TD="class: xl66"]4.53[/TD]
[TD="class: xl66"]7.5[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]26/08/12[/TD]
[TD="class: xl66"]Liverpool[/TD]
[TD="class: xl66"]Man City[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]2[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]3.15[/TD]
[TD="class: xl66"]3.45[/TD]
[TD="class: xl66"]2.48[/TD]
[TD="class: xl66"]D[/TD]
[TD="class: xl66"]D[/TD]
</tbody>
Data extends up to 3000 rows for some leagues.
Somehow, I would like to do two similar things.
The first is to identify only those games where the home team has WON 4 out of their 5 PREVIOUS home games, AND where the away team has LOST 4 out of PREVIOUS last 5 away games.
Specifically any game where the home teams previous form is WWWWD, WWWDW, WWDWW, WDWWW, DWWWW. The away team form combination is abit more complex with 112 possibilities but basically no more than 1 win in their last 5 games
While the second is to identify only those games where there have been 2 or more goals in 4 of the home teams last 5 games, AND 2 or more goals in 4 of the away teams last 5 away games.
Is this something that is even possible in Excel?
If it is, I'd really appreciate some general advice on how you would go about approaching the task?