Avoiding betting on a selection more than once

Please post any questions regarding the program here.

Moderator: 2020vision

Avoiding betting on a selection more than once

Postby psilocybin » Tue Jul 06, 2010 5:23 pm

Is it possible to check if you already have a bet on a horse.
psilocybin
 
Posts: 11
Joined: Sun Jun 20, 2010 6:12 pm

Postby mak » Tue Jul 06, 2010 6:19 pm

place this formula in an empty column for example aa5
=IF(T5="";"Bet";"NoBet")
"drag" this formula down to a55

this formula reads if T5 (bet reference) is empty then BET otherwise NoBet

In your trigger column place a statement something like this

cell q5 =if(AA5="BET";"your trigger...";"wait")

** if the formula won't work replace ; with ,

hope that helps
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby mak » Tue Jul 06, 2010 6:20 pm

sorry can't edit..

if it's ok that formula "drag" down to q55 the q5 formula
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am

Postby osknows » Tue Jul 06, 2010 7:28 pm

Mak's method works fine if you don't plan to clear out the bet references. There is a method in excel which can retain the memory of whether a bet has been placed after a cell has changed. This is a neat method if you prefer not using vba

In Excel goto Options/Formulas and enable iterative calcualtions and set the maximum iterations to something large like 32,767 (max limit might be lower in excel 2003)

This will allow circular referencing of cells

Then in cell AA5 enter the following and drag down
=IF($AA$1="Reset","",IF(OR(T5<>"",AA5="Bet Placed"),"Bet Placed",""))

If any character is placed in T5 then 'Bet Placed' appears in AA5. If T5 is then cleared 'Bet Placed' is still held in AA5. AA5 Can then be cleared by placing 'Reset' in cell AA1
User avatar
osknows
 
Posts: 946
Joined: Wed Jul 29, 2009 12:01 am

Postby mak » Tue Jul 06, 2010 8:14 pm

Os
i was trying to make an iteration formula some time ago but couldn't understand well enough what i was supposed to do

i will "play' with your example tomorrow
thanks
mak
 
Posts: 1086
Joined: Tue Jun 30, 2009 8:17 am


Return to Help

Who is online

Users browsing this forum: Google [Bot] and 40 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.