I am after a formula that tells me if a bet I have placed has won and in what way.
It is to do with Asian handicap betting. I shall explain more.
I have a bet in a1 that I have made.
It may be -1, which means that I have bet on the away team to win by 1 or more goals.
It could be a positive value. Eg +3 which means I think the home team will win by 3 or more.
If I bet +2 and the result is exactly +2 then the bet is refunded with no profit.
However it could also be a half, quarter or 3/4 value.
For example half a goal means that there cannot be a draw. So if I bet +2.5 or more, +3 will win but +2 will lose.
If I bet -4.5 and the result is -4, the bet loses and -5 would win.
A quarter goal bet means that half your bet is placed on a full goal bet an half is placed on the half goal bet. This means that you can win both halves, lose both halves or win one and lose the other.
A three quarter goal handicap also exists. This splits the bet between the half and full goal handicap.
A much better explanation can be found at
Asian Handicap Explained
So I have my bet in a1, and the result in b1.
A positive result means home team wins and a negative means away team wins with zero meaning a draw.
Can anyone help me write a formula for c1 that returns the result
Eg
Win
Lose
Void
Win half
Lose half
Thanks.
It is to do with Asian handicap betting. I shall explain more.
I have a bet in a1 that I have made.
It may be -1, which means that I have bet on the away team to win by 1 or more goals.
It could be a positive value. Eg +3 which means I think the home team will win by 3 or more.
If I bet +2 and the result is exactly +2 then the bet is refunded with no profit.
However it could also be a half, quarter or 3/4 value.
For example half a goal means that there cannot be a draw. So if I bet +2.5 or more, +3 will win but +2 will lose.
If I bet -4.5 and the result is -4, the bet loses and -5 would win.
A quarter goal bet means that half your bet is placed on a full goal bet an half is placed on the half goal bet. This means that you can win both halves, lose both halves or win one and lose the other.
A three quarter goal handicap also exists. This splits the bet between the half and full goal handicap.
A much better explanation can be found at
Asian Handicap Explained
So I have my bet in a1, and the result in b1.
A positive result means home team wins and a negative means away team wins with zero meaning a draw.
Can anyone help me write a formula for c1 that returns the result
Eg
Win
Lose
Void
Win half
Lose half
Thanks.