horse racing countdown timer & Excel

Discuss anything related to using the program (eg. triggered betting tactics)

Moderator: 2020vision

horse racing countdown timer & Excel

Postby ninelifecat » Sat Oct 10, 2009 4:52 am

hi
I'm fairly proficient at Excel but this one has me stumped:
Cell D2 has the countdown timer for the current race written into it by Betting Assistant
For example: 0:01:49 = 1 minute 49 seconds til race start.

I want to stop my Excel betting worksheet from placing any bets til 20 seconds before the off. How can I do this, because I can't read the time into a string or anything else useful with either an XL formula or VBA.

I know the cell D2 is formatted as h:mm:ss, I want to turn it into something I can manipulate with =left and =right funtions for example
How have other people sorted this out?

Any tips?
cheers for the help.
ninelifecat
 
Posts: 7
Joined: Sat Oct 10, 2009 4:45 am
Location: Wellington, New Zealand

Postby GaryRussell » Sat Oct 10, 2009 5:02 am

I use the following formula to calculate the seconds until the off from cell D2. It's a bit long winded, but does the job. It shows a minus figure after the scheduled off.

=IF(LEFT(D2)<>"-",(HOUR(D2)*3600)+(MINUTE(D2)*60)+SECOND(D2),-((HOUR(SUBSTITUTE(D2,"-",""))*3600)+(MINUTE(SUBSTITUTE(D2,"-",""))*60)+SECOND(SUBSTITUTE(D2,"-",""))))
User avatar
GaryRussell
Site Admin
 
Posts: 9872
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Postby ninelifecat » Sat Oct 10, 2009 6:38 am

awesome, thanks! thats exactly what I was after!
ninelifecat
 
Posts: 7
Joined: Sat Oct 10, 2009 4:45 am
Location: Wellington, New Zealand


Return to Discussion

Who is online

Users browsing this forum: No registered users and 58 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.