Hi,
Usual kind of query for me - something related to sports; in short I have attached a worksheet from one of my other workbooks. In short I can drop everything that I want in and out of the sheet (into another sheet and vice-versa - the other sheet is not in the attached) with a macro. The only thing that I can't get is my points spread adjustment. In short I'd like to use the points spread cell figure in B1 (which I can copy in via a macro - imagine it's a different figure for every line of the other sheet), to govern the sum in C177. In the case of the attached as B1 is 56.5, the formula in cell C177 is =SUM(C72:C128) - e.g. the sum of 0 points to 56 points (or under 56.5). If B1 was reduced to 56, it would be =SUM(C72:C127) - e.g. the sum of 0 points to 55 points (or under 56 points).
I'm figuring that it might be possible to do something with an index, match or substitute (but wouldn't know where to start)?
Incidentally the other maths in the spreadsheet is good for what I am trying to do (it may be possible to do this more elegantly - and I know it is theoretically possible a team could score more than 50 points e.g. to about 5 or 6 dp's - but right now I am just trying to solve this).
In short is this possible?
Thanks in advance, for any advice.
Poisson Spread Concept.xls
Bookmarks