The formula can be used in the Points for Playing field or in the Tournament Scoring field on the Stats tab. If you are just summing points from tournament to tournament, just put it in the Points for Playing field and then let the Stats add it up automatically for you. Put it in the Tournament Scoring field if you think you'll change it halfway through the season (and want the change to affect already run tournaments), or if you wish to do something more elaborate, like drop the highest and lowest tournaments, etc.
50 - (nr * 5) + (nh * 10) + (finalTable * 10) + (inTheMoney * 10) + switch(r, 1, 100, 2, 50, 3, 25, 4,10)