Hello,
I am new here so if I don't format this correctly please just let me know. I want to make an excel sheet that records games played (of warmachine) and the points a player gets for playing/winning those games and then have those scores properly tallied on a "general" worksheet. I have created the game information and it correctly calculates points for winning and losing a game. I have even created a method of tallying those points but the way I have devised would require a HUGE nested if statement.
What I have made was this:
=SUM(IF(COUNTIF(B2:B7,'General information'!A2),IF(COUNTIF(D4:D5,'General information'!A2),G5,G6),0),IF(COUNTIF(B9:B14,'General information'!A2),IF(COUNTIF(D11:D14,'General information'!A2),G12,G13),0),IF(COUNTIF(B16:B21,'General information'!A2),IF(COUNTIF(D18:D21,'General information'!A2),G19,G20),0))
That's only to sum up 3 of the games based on a users name. I am really hoping that you guys can help me find a better/easier way to get this to work. I have to make it so this sheet can calculate around 40-50 games and as you can imagine by the length of that code alone for just 3 games, the manual data input would be huge.
Please help me out.
I am new here so if I don't format this correctly please just let me know. I want to make an excel sheet that records games played (of warmachine) and the points a player gets for playing/winning those games and then have those scores properly tallied on a "general" worksheet. I have created the game information and it correctly calculates points for winning and losing a game. I have even created a method of tallying those points but the way I have devised would require a HUGE nested if statement.
What I have made was this:
=SUM(IF(COUNTIF(B2:B7,'General information'!A2),IF(COUNTIF(D4:D5,'General information'!A2),G5,G6),0),IF(COUNTIF(B9:B14,'General information'!A2),IF(COUNTIF(D11:D14,'General information'!A2),G12,G13),0),IF(COUNTIF(B16:B21,'General information'!A2),IF(COUNTIF(D18:D21,'General information'!A2),G19,G20),0))
That's only to sum up 3 of the games based on a users name. I am really hoping that you guys can help me find a better/easier way to get this to work. I have to make it so this sheet can calculate around 40-50 games and as you can imagine by the length of that code alone for just 3 games, the manual data input would be huge.
Please help me out.