Countdown Timer Into Bet Angel Excel Templates ?

Discussion regarding the spreadsheet functionality of Bet Angel.
Post Reply
dogform
Posts: 53
Joined: Fri Sep 11, 2009 12:27 pm

Hi,

Is there an easy way to create an "off time" countdown timer into the Bet Angel excel templates ?

I can see one possible option by extracting the time from the event string in cell A1 using some text functions then subtracting the PC current time or BA "last updated time" from that. However, I am not 100% sure of the uniformity of the A1 value for different sports/events.

If there is a simpler method I would be grateful for any info.

Rgds
Bet Angel
Bet Angel
Bet Angel
Posts: 4001
Joined: Tue Apr 14, 2009 3:47 pm

Found this solution buried under 'suggestions' you can search and find the entire discussion if you wish: -

First I strip the time from the event field:

=RIGHT(LEFT('Bet Angel'!B1,SEARCH(":",'Bet Angel'!B1,1)+2),5)

Which leaves us with something like "13:40"

Then I subtract the current time which has to be in the same format.

=CONCATENATE(HOUR(NOW()),":",MINUTE(NOW()),":",SECOND(NOW()))

You can put the whole lot in a single cell:

=RIGHT(LEFT('Bet Angel'!B1,SEARCH(":",'Bet Angel'!B1,1)+2),5)-CONCATENATE(HOUR(NOW()),":",MINUTE(NOW()),":",SECOND(NOW()))

You'll need to format the cell as time.
dogform
Posts: 53
Joined: Fri Sep 11, 2009 12:27 pm

BA,

Thx, I copied and pasted the entire formula into a single cell and it works OK.

There is one small niggle, if the race is late off then the countdown timer becomes negative and it displays a series of hash symbols due to the negative time value.

Is anyone aware of any specific formatting code I can use to get the negative time to display with a minus sign and in red rather than the hashes ?

Rgds
finnbarr99
Posts: 35
Joined: Sat Jun 27, 2009 1:17 pm

Youd need to make a custom format in excel.
nigelk
Posts: 469
Joined: Wed Apr 15, 2009 11:00 pm

As we are only dealing with hours/mins/secs, what about the 1904 date system?

http://j-walk.com/ss/excel/usertips/tip051.htm
User avatar
TheTub
Posts: 267
Joined: Thu Mar 26, 2009 7:53 pm
Location: Nottinghamshire

The way I get around this is to just logic check the value. And if the time is less than zero just leave at zero. Then apply a conditional format to highlight the cell in red if it is less than 30 seconds for example.

=IF(Time<0,0,Time)
Post Reply

Return to “Bet Angel - Spreadsheet / Excel chat”