Smartgambler
Pro-Punter

Go Back   OZmium Sports Betting and Horse Racing Forums > Public Forums > Horse Race Betting Systems
User Name
Password
Register FAQ Search Today's Posts Mark all topics as read

To advertise on these
forums, e-mail us.

Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old 26th May 2011, 03:32 PM
Pauls123 Pauls123 is offline
Member
 
Join Date: Oct 2005
Posts: 245
Default

Thanks Iomaca for that. I just tried it and had to play with the last little bit a tad. It now works for:

=LEFT(L2,1)*60+MID(L2,3,2)+RIGHT(L2,3)

If I format the active cell to Number and 2 decimal places.

Thanks again, Paul
Reply With Quote
  #12  
Old 26th May 2011, 03:33 PM
Shaun Shaun is offline
Member
 
Join Date: Jan 1970
Location: Western Australia
Posts: 3,457
Default

Not sure what that time represents maybe you could post an excel sheet with some copied data i could work on.

Web Queries are basically copying the data from the website directly in to excel, it would use the url of the page than download the web tables, you can download the whole page or only part of it, i will post example shortly.
Reply With Quote
  #13  
Old 26th May 2011, 03:45 PM
Shaun Shaun is offline
Member
 
Join Date: Jan 1970
Location: Western Australia
Posts: 3,457
Default

Here is a simple web query just change the race code and race number and press "Get Race" there is a VBA code in the code section, i have a few sheets floating around this forum that will give you ideas on how to do things, if done right you should be able wo automate the tasks.
Attached Files
File Type: xlsm Test Query.xlsm (26.7 KB, 409 views)

Last edited by Shaun : 26th May 2011 at 03:48 PM.
Reply With Quote
  #14  
Old 26th May 2011, 07:29 PM
Pauls123 Pauls123 is offline
Member
 
Join Date: Oct 2005
Posts: 245
Default

Thanks Shaun, I shall have to sit down and study this tomorrow, see if I can fathom it out, maybe some more questions then,

Paul
Reply With Quote
  #15  
Old 27th May 2011, 02:07 AM
lomaca lomaca is offline
Member
 
Join Date: Jan 1970
Posts: 1,096
Default

Quote:
Originally Posted by Pauls123
Thanks Iomaca for that. I just tried it and had to play with the last little bit a tad. It now works for:

=LEFT(L2,1)*60+MID(L2,3,2)+RIGHT(L2,3)

If I format the active cell to Number and 2 decimal places.

Thanks again, Paul
With hindsight, if the time is always expressed in this format then this formula is simpler:

=LEFT(A1,1)*60 + MID(A1,3,4)
Cheers
Reply With Quote
  #16  
Old 27th May 2011, 01:42 PM
Pauls123 Pauls123 is offline
Member
 
Join Date: Oct 2005
Posts: 245
Default

Thanks Iomaca for your help in this. Been out all day (playing bowls) and just getting back into this spreadsheet now,

Paul
Reply With Quote
  #17  
Old 28th May 2011, 01:02 PM
Pauls123 Pauls123 is offline
Member
 
Join Date: Oct 2005
Posts: 245
Default

One of the problems I have encountered with the Unitab formguide, is that it shows the margin as,....eg,.."3.5L",....whether it won OR lost by 3 1/2 lengths,

hmm
Reply With Quote
  #18  
Old 28th May 2011, 01:37 PM
lomaca lomaca is offline
Member
 
Join Date: Jan 1970
Posts: 1,096
Default

Quote:
Originally Posted by Pauls123
One of the problems I have encountered with the Unitab formguide, is that it shows the margin as,....eg,.."3.5L",....whether it won OR lost by 3 1/2 lengths,

hmm
that should not be a great problem if you also record the finishing pos and number of runners which is the far left cell like "1-9" meaning finished first out of 9 runners.
In this case all you have to do is put a simple formula in the len. cell somet like " if the number in the finished cell is 1 then the value in this cell is multiplied by -1"
Reply With Quote
  #19  
Old 28th May 2011, 03:37 PM
Pauls123 Pauls123 is offline
Member
 
Join Date: Oct 2005
Posts: 245
Default

Thanks again Iomaca, but the format of the cell which shows where the horse finished out of so many runners etc, is in "Date format" and I cant seem to get it to change to the format of what I want,

Paul
Reply With Quote
  #20  
Old 28th May 2011, 03:57 PM
lomaca lomaca is offline
Member
 
Join Date: Jan 1970
Posts: 1,096
Default

Quote:
Originally Posted by Pauls123
Thanks again Iomaca, but the format of the cell which shows where the horse finished out of so many runners etc, is in "Date format" and I cant seem to get it to change to the format of what I want,

Paul
I don't know how you cut and paste your info, I just looked at the Unitab site and I saw the field as for instance "2-8' etc.

Show us your Excel sheet first.

I suggest you ask Shaun to look at your spreadsheet.
As I said I do not code in Excel (VBA) simply because it's not much used commercially.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump



All times are GMT +10. The time now is 07:57 AM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2008 OZmium Pty. Ltd. All rights reserved . ACN 091184655