Determine bonus point by the ranking

vincentcheng

New Member
Joined
Dec 3, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
In Japanese mahjong, one way to calcuate the bonus point, or call "uma" will be based on the player's net score. The way is following:
If one person's net score is greater than 0, then 1st player get +12, 2nd player -1, 3rd player -3, 4th player get -8
If two person's net score is greater than 0, then 1st player get +8, 2nd player +4, 3rd player -4, 4th player get -8
If third person's net score is greater than 0, then 1st player get +8, 2nd player +3, 3rd player -1, 4th player get -8

However, if player have same rank, their share the bonus point.

For example, two player of 4 player net score is >0, and they are both in 1st place, then they both get +6.
one more example, if only 1 of 4 player net score is >0 and the last 3 person have same score, then 1st player will get +12, and the last 3 person will get -4..

I don't know does it have easy way to achieve this or not...
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi! I gave it a go and ended up with the following:
MrExcel.xlsm
ABCDEFGHIJ
4Person 1Person 2Person 3Person 4
5net score22-1-11x >02x >03x >0
6net rank113311288
7bonus88-4-42-143
8final score1010-5-53-3-4-1
94-8-8-8
Sheet1
Cell Formulas
RangeFormula
B6:E6B6=RANK.EQ(B5,$B$5:$E$5)
B7:E7B7=SWITCH(COUNTIF($B$5:$E$5,">0"),1,INDEX($H$6:$H$9,B6),2,INDEX($I$6:$I$9,B6),3,INDEX($J$6:$J$9,B6))
B8:E8B8=B5+B7


However, the examples you gave do not make any sense when compared to the rules stated right above. It is unclear how the bonus point is "shared" if people have the same rank. Let me know if I am missing something.
 
Upvote 0

Forum statistics

Threads
1,214,426
Messages
6,119,411
Members
448,894
Latest member
spenstar

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