OZmium Sports Betting and Horse Racing Forums

OZmium Sports Betting and Horse Racing Forums (http://forums.ozmium.com.au/index.php)
-   Horse Race Betting Systems (http://forums.ozmium.com.au/forumdisplay.php?f=10)
-   -   Form Guide (http://forums.ozmium.com.au/showthread.php?t=21670)

Pauls123 26th May 2011 03:32 PM

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

Shaun 26th May 2011 03:33 PM

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.

Shaun 26th May 2011 03:45 PM

1 Attachment(s)
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.

Pauls123 26th May 2011 07:29 PM

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

lomaca 27th May 2011 02:07 AM

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

Pauls123 27th May 2011 01:42 PM

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

Paul

Pauls123 28th May 2011 01:02 PM

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

lomaca 28th May 2011 01:37 PM

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"

Pauls123 28th May 2011 03:37 PM

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

lomaca 28th May 2011 03:57 PM

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.


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

Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.