So I had some great help from a user the other day, and I'm hoping to take it a step further.
I'd like to be able to input the results of sports matches into the table on the left, and have the table on the right generate a "W", "L", or "T" for that particular team. I've written a bit of code that will easily do this, but I can't apply it across the table without doing it manually for each individual cell and each individual team.
Here's what I've written:
=IF(OR(ISBLANK(C3), ISBLANK(D3)), "", IF(C3 > D3, "W", IF(C3 < D3, "L", "T")))
Is there a better/easier way to apply this across the matches?
I'd like to be able to input the results of sports matches into the table on the left, and have the table on the right generate a "W", "L", or "T" for that particular team. I've written a bit of code that will easily do this, but I can't apply it across the table without doing it manually for each individual cell and each individual team.
Here's what I've written:
=IF(OR(ISBLANK(C3), ISBLANK(D3)), "", IF(C3 > D3, "W", IF(C3 < D3, "L", "T")))
Is there a better/easier way to apply this across the matches?
Example.xlsx | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | |||
2 | Game 1 | Game 2 | Game 3 | Game 4 | ||||||||
3 | Team 1 | Team 2 | Team 1 | |||||||||
4 | Team 3 | Team 4 | Team 2 | |||||||||
5 | Team 5 | Team 6 | Team 3 | |||||||||
6 | Team 7 | Team 8 | Team 4 | |||||||||
7 | Team 9 | Team 10 | Team 5 | |||||||||
8 | Team 11 | Team 12 | Team 6 | |||||||||
9 | Team 2 | Team 1 | Team 7 | |||||||||
10 | Team 13 | Team 8 | Team 8 | |||||||||
11 | Team 10 | Team 7 | Team 9 | |||||||||
12 | Team 14 | Team 4 | Team 10 | |||||||||
13 | Team 6 | Team 3 | Team 11 | |||||||||
Sheet1 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
B3:E13 | Cell Value | contains "Jets" | text | NO |
B3:E13 | Cell Value | contains "Bucks" | text | NO |
B3:E13 | Cell Value | contains "Lignu" | text | NO |
B3:E13 | Cell Value | contains "Bulls" | text | NO |
B3:E13 | Cell Value | contains "OPS Beasts 2.0" | text | NO |
B3:E13 | Cell Value | contains "Emersons Steamers" | text | NO |
B3:E13 | Cell Value | contains "Pro Flow Falcons" | text | NO |
B3:E13 | Cell Value | contains "Bombers" | text | NO |
B3:E13 | Cell Value | contains "Kinoko Beavers" | text | NO |
B3:E13 | Cell Value | contains "Chargers" | text | NO |
B3:E13 | Cell Value | contains "Darkest Dunedin Ducks" | text | NO |
B3:E13 | Cell Value | contains "Aotea Amps" | text | NO |
B3:E13 | Cell Value | contains "Rams" | text | NO |