frozenraven10 said:Hey everyone. I could really use some help here.
I'm building an Excel sheet for a soccer tournament. In the table, I have cells for WINS, DRAWS, and LOSSES. The issue is when I try to create a function to make the WINS cell show a "1" for one win, a "2" if they win twice, and so on...
To clarify—I set up an IF function, and when Team 1 beats Team 2, it puts this in the WINS cell: 1 for Team 1 (if Team 1's score > Team 2's score, basically); otherwise, it just puts a 0 (for a loss or a tie).
How do I get the function to actually count the wins—like showing 2, 3, or 4 if the team keeps winning? (meaning Team 1 beats Team 2, then Team 1 beats Team 3, etc.) How can I bundle all those arguments into an IF function? Can anyone help me out? Thanks in advance...
If that sounds a bit confusing, here's the actual formula:
=IF(A1>B1,1,0)
How do I add more arguments to the function? Like, how would it look if I wanted to include =IF(A2>B2,1,0), =IF(A3>B3,1,0)... and so on?