excelbeginner344
New Member
- Joined
- Feb 17, 2020
- Messages
- 3
- Office Version
- 2013
- Platform
- Windows
hello,
Just to give a bit of background - i have a college project to do on game states involving football (/ soccer).
I have been given some data and for a season where the home & away goals sit in a binary string of 90 chars. 0= no goal / 1 = goal (the position signifying the minute scored). I have been able to extract the minutes the goals are scored & i have a grid per attached (H S = Home Scored # of goals / A S = Away Scored # of goals).
The difficulty im having is organsing the data into the score sequentially. I need to record the score in order of time (eg 1-0 / 19 minutes, 1-1 / 38 minutes etc)
Its easy where its 0-0, or 1-0, or 0-1. the difficulty im having is to build a picture where there are multiple goals scored.
For example - per the image for Queens Park vs Stoke; i need to reference the code to return the following:
0-1 / 27
0-2 / 31
1-2 / 34
2-2 / 38
3-2 / 71
4-2 / 90
Would be massively grateful if anyone has any ideas. Have tried to use COUNTIF but cant organise it how i need to & have scoured the web but cant see any similar problems that have been solved.
TIA !
Just to give a bit of background - i have a college project to do on game states involving football (/ soccer).
I have been given some data and for a season where the home & away goals sit in a binary string of 90 chars. 0= no goal / 1 = goal (the position signifying the minute scored). I have been able to extract the minutes the goals are scored & i have a grid per attached (H S = Home Scored # of goals / A S = Away Scored # of goals).
The difficulty im having is organsing the data into the score sequentially. I need to record the score in order of time (eg 1-0 / 19 minutes, 1-1 / 38 minutes etc)
Its easy where its 0-0, or 1-0, or 0-1. the difficulty im having is to build a picture where there are multiple goals scored.
For example - per the image for Queens Park vs Stoke; i need to reference the code to return the following:
0-1 / 27
0-2 / 31
1-2 / 34
2-2 / 38
3-2 / 71
4-2 / 90
Would be massively grateful if anyone has any ideas. Have tried to use COUNTIF but cant organise it how i need to & have scoured the web but cant see any similar problems that have been solved.
TIA !