Hello guys, one more time I need your precious help.
I have a table with football match results and I would like to calculate the total statistics for the teams either playing at Home or Away.
So far I have managed to calculate statistics where the teams have played at home or away (it is easy as I group data based on one column) but when it comes to total statistics I can't combine data from the two different columns...
Any ideas? Let's say that the table is as simple as the below.
PS. I could combine the two separate tables I have created with the data for home and away statistics, but in this way, there are teams from the second table that do not exist in the first one and vice versa. Some may have played Away but not yet at Home and this creates more records in one table than the other.
Thanks!
I have a table with football match results and I would like to calculate the total statistics for the teams either playing at Home or Away.
So far I have managed to calculate statistics where the teams have played at home or away (it is easy as I group data based on one column) but when it comes to total statistics I can't combine data from the two different columns...
Any ideas? Let's say that the table is as simple as the below.
PS. I could combine the two separate tables I have created with the data for home and away statistics, but in this way, there are teams from the second table that do not exist in the first one and vice versa. Some may have played Away but not yet at Home and this creates more records in one table than the other.
Thanks!
HOME | AWAY | RESULT |
Arsenal | Chelsea | 1 |
Chelsea | Arsenal | X |
Arsenal | Lester | 2 |
Lester | Arsenal | 1 |
Last edited: