Hi,
I am trying to develop a way to calculate my football head to head matchups for my football league to show which team plays the best against each other. A snapshot of my spreadsheet is below:
Team names are in columns A and D, and their respective scores are in columns B and E.
So, I am wondering if there is a way to see if column B is greater than column E and then check to see what name is in the column to the left of the scores (column B/E) and then sort them into head to head records. For example, in the picture above, if I want to see Sam vs. Peyton's head to head record, it should be 0-2-0 (with the first value being a win, second is the loss column, and third are ties). Because in row 3 and row 6, Peyton scored more than Sam.
For Dan vs. Anthony it would be 0-1-0,
and for Joe vs. Nick it is 1-1-0 and format it looking like this:
In cell F3, I tried to calculate the Sam vs. Peyton scenario, but could not get it to work properly.
If anyone has any advice on how to tackle this problem that would be awesome because I have four years worth of this data and doing that by hand would not be fun!
Sam
I am trying to develop a way to calculate my football head to head matchups for my football league to show which team plays the best against each other. A snapshot of my spreadsheet is below:
Team names are in columns A and D, and their respective scores are in columns B and E.
So, I am wondering if there is a way to see if column B is greater than column E and then check to see what name is in the column to the left of the scores (column B/E) and then sort them into head to head records. For example, in the picture above, if I want to see Sam vs. Peyton's head to head record, it should be 0-2-0 (with the first value being a win, second is the loss column, and third are ties). Because in row 3 and row 6, Peyton scored more than Sam.
For Dan vs. Anthony it would be 0-1-0,
and for Joe vs. Nick it is 1-1-0 and format it looking like this:
Sam vs. Peyton Head to Head: | Dan vs. Anthony Head to Head: | Joe vs. Nick Head to Head: |
0-2-0 | 0-1-0 | 1-1-0 |
In cell F3, I tried to calculate the Sam vs. Peyton scenario, but could not get it to work properly.
If anyone has any advice on how to tackle this problem that would be awesome because I have four years worth of this data and doing that by hand would not be fun!
Sam