Stall and Race Numbers

Please post any questions regarding the program here.

Moderator: 2020vision

Stall and Race Numbers

Postby Duaneyk » Wed Mar 05, 2025 6:20 pm

Hi all
First time posting. Haven't found an answer to this yet when going through the previous posts.

I do some betting on the US Horse Racing and also UK Greyhounds. I have used some of the sample spreadsheets to get started and populate my selections. They weren't firing which I then found to be because I have the runners name in the selection but, on the market tab, Betfair sends the stall number as part of the name ie 1. Horsey instead of just Horsey

I can get around it with Greyhounds due to the data I use (join the stall and runner name together), but I don't have stall numbers in my data for USA horses. Does anyone have a solution to this? I'm assuming a formula as part of the VLOOKUP but my attempts have so far been futile.

Any help appreciated.
Duaneyk
 
Posts: 2
Joined: Wed Mar 05, 2025 6:13 pm

Re: Stall and Race Numbers

Postby Captain Sensible » Wed Mar 05, 2025 9:06 pm

You could use a helper column to strip out the number and match your vlookup to that column . I.e you strip the number out of the A column and put it in AA

With a formula you'd simply put in AA5

=IF(ISNUMBER(VALUE(LEFT(A5,1))), RIGHT(A5,LEN(A5)-FIND(" ",A5)), A5)
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Re: Stall and Race Numbers

Postby Captain Sensible » Wed Mar 05, 2025 9:13 pm

You can incorporate that as part of your Vlookup formula id you don't want to use another cell or even write it in VBA depending how competent your excel coding skills are.

One thing I'd suggest is using Chatgpt as that's very good and quick at doing any coding for you.
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Re: Stall and Race Numbers

Postby Duaneyk » Fri Mar 07, 2025 12:35 am

Perfect, thanks very much for the formula. It works a treat.
I will look at VBA code at some point, but this lets me get it up and running.
Duaneyk
 
Posts: 2
Joined: Wed Mar 05, 2025 6:13 pm


Return to Help

Who is online

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