We have a scoring spreadsheet which tracks games played and the winner of each match. We have the following columns
- column A (name1)
- column B (vs)
- column C (name2)
- column D (winner name)
I have used
to count how many games this particular pairing have played, simply because as the games are entered by different people names are in either column.
Now I need to find a way to count the amount wins from the games these two have played, obviously the formula above is redundant for this.
So in effect, match from column A and C
name2 and count how many
name1 exists in column D.
It should be sufficient to count how many times Name1 exists in column D with Name2 in A or C so try either
or you can use SUMPRODUCT like this
The first one is longer but more efficient