tly0227
New Member
- Joined
- Oct 2, 2012
- Messages
- 37
So I help run a Trivia night once a week and it's been getting pretty hectic, so trying to make my life a little easier and get Excel to do most of the scoring work for me. I initially just had a sheet where I just had to enter the point value of each question for each team and it'd autosum for me, which is cool...but I wanna do more.
What I'd like to do...
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style><style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[TABLE="width: 0"]
<colgroup><col style="width: 100px"><col width="24"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="34"></colgroup><tbody>[TR]
[TD]Team Name[/TD]
[TD]R?[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]14[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]16[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]20[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]Round Value[/TD]
[TD="bgcolor: #000000"][/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]90[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]90[/TD]
[TD="align: right"]80[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]20[/TD]
[TD="bgcolor: #000000"][/TD]
[TD="bgcolor: #000000"][/TD]
[/TR]
[TR]
[TD]Test 1[/TD]
[TD="align: right"]5[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]n[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD="align: right"]500[/TD]
[TD="bgcolor: #00ff00"][/TD]
[/TR]
[TR]
[TD]Test 2[/TD]
[TD="align: right"]0[/TD]
[TD]n[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD="align: right"]-200[/TD]
[TD="bgcolor: #00ff00"][/TD]
[/TR]
</tbody>[/TABLE]
Ideally, I'd like to write a formula for the total column (green cells) that if column 3-21 is a y, it sums the appropriate value for that round (row 2). In the sum, it also has to include column 2, which will either be +5 or 0 (bonus points for returning teams) and column 22 (round 20), which could be any number and may be positive or negative (is a bid amount..positive if they get the answer correct, negative if they are wrong).
I also have a version of this that's got the rounds on rows and each column is a team...if that version is better for what I'm wanting to do, I'm fine with that.
Can this be done?
What I'd like to do...
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style><style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[TABLE="width: 0"]
<colgroup><col style="width: 100px"><col width="24"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="31"><col width="34"></colgroup><tbody>[TR]
[TD]Team Name[/TD]
[TD]R?[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]14[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]16[/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]20[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]Round Value[/TD]
[TD="bgcolor: #000000"][/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]90[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]90[/TD]
[TD="align: right"]80[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]20[/TD]
[TD="bgcolor: #000000"][/TD]
[TD="bgcolor: #000000"][/TD]
[/TR]
[TR]
[TD]Test 1[/TD]
[TD="align: right"]5[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]n[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD="align: right"]500[/TD]
[TD="bgcolor: #00ff00"][/TD]
[/TR]
[TR]
[TD]Test 2[/TD]
[TD="align: right"]0[/TD]
[TD]n[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD]y[/TD]
[TD]n[/TD]
[TD="align: right"]-200[/TD]
[TD="bgcolor: #00ff00"][/TD]
[/TR]
</tbody>[/TABLE]
Ideally, I'd like to write a formula for the total column (green cells) that if column 3-21 is a y, it sums the appropriate value for that round (row 2). In the sum, it also has to include column 2, which will either be +5 or 0 (bonus points for returning teams) and column 22 (round 20), which could be any number and may be positive or negative (is a bid amount..positive if they get the answer correct, negative if they are wrong).
I also have a version of this that's got the rounds on rows and each column is a team...if that version is better for what I'm wanting to do, I'm fine with that.
Can this be done?