% Green Up _ Excel Calculation

Please post any questions regarding the program here.

Moderator: 2020vision

% Green Up _ Excel Calculation

Postby mak » Thu Dec 24, 2009 10:26 am

Hi
can someone help with the following please?

Example
Stake 10€
Back Odds 3
Lay Odds 2

How can I calculate a percentage of potential profit 10% ? Say I believe that the particular selection will win

So the right answer is Lay 11€ and if selection win you get 9€ or if lose you get 1€

Thanks in advanse & Merry Christmas
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby mak » Thu Dec 24, 2009 11:28 am

Maybe is not clear from the above..
The answer is provided from a web based calculator & I need to calculate it in excel
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby GaryRussell » Thu Dec 24, 2009 11:50 am

Can you post the address of the web calculator. If they are using javascript to calculate it then I maybe able to work out the formula. Can't promise anything though.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: % Green Up _ Excel Calculation

Postby milfor » Thu Dec 24, 2009 11:53 am

mak wrote:So the right answer is Lay 11€ and if selection win you get 9€ or if lose you get 1€


That doesn't make any sense. What back and lay bets are used exactly? If the back odds were 3 and the lay odds were 2 the potential profit would be much higher than 10%.
milfor
 
Posts: 437
Joined: Mon Jun 26, 2006 1:44 am

Postby GaryRussell » Thu Dec 24, 2009 11:56 am

I think he means 1€ is 10% of (1€ + 9€)
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby mak » Thu Dec 24, 2009 11:59 am

That's right Gary
I pm'ed you
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby osknows » Thu Dec 24, 2009 12:32 pm

If
Back odds = Ob
Back Stake = Sb
Lay odds = Ol
Percentage = p

Then Stake to Lay

Sl = (Ob -2) * Sb * p) + Sb

Sl = (3- 2)*10*0.1) + 10
Sl = 11
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby mak » Thu Dec 24, 2009 12:35 pm

THANKS OS
:D
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby osknows » Thu Dec 24, 2009 12:42 pm

Hang on it's not right..... scrap that last equation
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby GaryRussell » Thu Dec 24, 2009 12:53 pm

See http://www.gruss-software.co.uk/Excel/P ... entage.xls

Enter stake in cell A2
Enter back odds in cell B2
Enter lay odds in cell D2
Enter percentage required in cell G2
The calculated stake is in cell H2

This appears to match the website you sent me.

Maybe osknows can simplify it.
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby mak » Thu Dec 24, 2009 1:17 pm

Os
I think that your formula is ok.
Are you sure that is something wrong?

Gary thanks
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby osknows » Thu Dec 24, 2009 1:22 pm

My brain hurts now... I had a calc and tried to fit but as 2 was the lay odds it cancelled most of the terms out

correct formula is
0.1 A1 = percentage
3.00 A2 = Back Odds
10.00 A3 = Back Stake
2.00 A4 = Lay Odds
11.00 A5 = Lay Stake to achieve A1 percentage

A5 formula is
=((A1*A3*A2)+(1-A1*2)*A3)/((A1*A4)+(1-A1*2))
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby osknows » Thu Dec 24, 2009 5:26 pm

I had a look at the link and it works slightly differently to the way I was expecting. The percentage is based on amount of max profit to hedge, so 10% would reduce the max profit by 10% on the back side to allocate to the lay side. My earlier formula made the lay side profit 10% of the sum of the back and lay profit. They are different things.

So new formula is

p = percentage
Sb = Back Stake
Ob - Back odds
Ol = Lay odds

Lay Stake

Sl = [(1 - p) * Sb * (Ob-Ol)] - [Sb *(Ob -1)] / -(Ol-1)

Sl = [(1-0.1) * 10 * (3-2) ] - [10 *(3-1)] / -(2-1)
Sl = 0.9 * 10 * 1 - 20 / -1
Sl = -11/-1
Sl = 11
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby mak » Thu Dec 24, 2009 6:36 pm

Os thanks you
Great support as always
Merry Christmas to you & your family & all the forum
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am


Return to Help

Who is online

Users browsing this forum: No registered users and 52 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.