Author Topic: Yet another fomula question  (Read 1032 times)

pbrannon

  • Newbie
  • *
  • Posts: 1
    • View Profile
Yet another fomula question
« on: June 10, 2010, 04:05:18 PM »
I apolgize, but I hav esearched and can't find this. I am usuallyy pretty good at figuring stuff out, but for the life of me I just don't get it.

I need a points formula where the top 4 players would get points, based up the number of buy-ins + number of rebuys.

Example: 30 buy ins, with 10 rebuys. There would be a total of 40 points up for grabs.
To be distributed:
1st: 40%
2nd: 30%
3rd: 20%
4th: 10%
(rounded to 2 decimal places)

Would there also be a way to make it so if one of the top 4 players had more than 1 rebuy, that their points were diminished?

Can someone please help?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Yet another fomula question
« Reply #1 on: June 11, 2010, 10:28:08 AM »
assign("x", numberOfPlayers + totalNumberOfRebuys)
switch(r, 1, x * .4, 2, x * .3, 3, x * .2, 4, x * .1)


or

(numberOfPlayers + totalNumberOfRebuys) * switch(r, 1, .4, 2, .3, 3, .2, 4, .1)

or

(n + tnr) * max(5 - r, 0) * .1

You could easily modify these to subtract points for players with more than one rebuy.  What did you have in mind?