SportDay Calculate Gold Silver Bronze

sakijung

Board Regular
Joined
Jan 12, 2004
Messages
75
Good morning. We will held sport day. And I would like some formular how to calculate the score for each prize. Please let see the data.
Sport----Type----Prize-----
a--------b--------c--------
100------1------- 1------- 7 (If we use the pattern for each prize and calculate.)
200------1------- 3------- 3
400------1------- 2------- 5
4x100----2------- 1------- 9
Total Score ------24-------

The criteria if type = 1 the prize scores are 1=7, 2=5, 3=3 and if type = 2, the prize scores are 1=9,2=7 and 3=5.
I would like the answer as the above example.
Now I use +(countif(c1:C4,1)*7)+(countif(c1:c4,2)*5).... I cannot separate type 1 or type 2 for each score.

Thank you very much.
 
Last edited:

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
If there are no instances of any other values other than the ones stated
Excel Workbook
ABCD
1100117
2200133
3400125
44x100219
5Total Score24
Sheet1
Excel 2007
Cell Formulas
RangeFormula
D1=CHOOSE(B1, CHOOSE(C1, 7, 5, 3), CHOOSE(C1, 9, 7, 5))
D2=CHOOSE(B2, CHOOSE(C2, 7, 5, 3), CHOOSE(C2, 9, 7, 5))
D3=CHOOSE(B3, CHOOSE(C3, 7, 5, 3), CHOOSE(C3, 9, 7, 5))
D4=CHOOSE(B4, CHOOSE(C4, 7, 5, 3), CHOOSE(C4, 9, 7, 5))
D5=SUM(D1:D4)
 
Upvote 0
Thank you very much for the answer. I try it already with 2003. It's OK. But I must hide or unhide the column next to. So sorry in column D E F G are for the another school team who race in this game. I don't want hide or unhide column. I want some formular to summarize at the bottom of each C, D, E, F....... And then Iwill rank who has the most points.

Thank you very much.
 
Upvote 0

Forum statistics

Threads
1,217,464
Messages
6,136,816
Members
450,026
Latest member
Thhoney

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top