Smartgambler
Pro-Punter

Go Back   OZmium Sports Betting and Horse Racing Forums > Public Forums > Horse Racing
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
  #1  
Old 17th March 2013, 09:12 AM
M60 M60 is offline
Member
 
Join Date: Nov 2011
Posts: 16
Smile Formula Help in extracting horse last 4 starts

Can any one please help......l've paste the form guide but can not separate the 4 placings ...eg l have the placing of 1356 in Col.B ..R3 would like to put 6 in Col.C R3..5 in E..3 in F...1 in G.... l've tried this formula but only goes to 3 ...numbers.....=IF(LEN($B3)=2,"",IF(LEN($B3)=1,"",LEFT($B3,1)))....=IF(LEN($B3)=1,"",IF(LEN($B3)=3,MID($B3,2,1),LEFT($B3,1)))
=RIGHT($B3,1)..Thanking you Blkscout
Reply With Quote
  #2  
Old 17th March 2013, 10:55 AM
aussielongboat aussielongboat is offline
Member
 
Join Date: Nov 2010
Posts: 259
Default

anything in column d ?
Reply With Quote
  #3  
Old 17th March 2013, 10:56 AM
UselessBettor UselessBettor is offline
Member
 
Join Date: Sep 2011
Posts: 1,534
Default

That looks over complicated.

Just use a combination of IF, LEFT and RIGHT.

1356 is your value.

So for COL B you want

COLB = IF (LEN(B3) = 4, LEFT(B3,1), "")
COLC = IF (LEN(B3) >=3, LEFT(RIGHT(B3,3),1),"")
COLD = IF (LEN(B3) >=2, LEFT(RIGHT(B3,2),1),"")
COLE = IF (LEN(B3) >=1, RIGHT(B3,1),"")

Seems easy enough. My sytax might be slightly off but the logic should be right.

Adjust to where you want to put them.
Reply With Quote
  #4  
Old 17th March 2013, 11:02 AM
aussielongboat aussielongboat is offline
Member
 
Join Date: Nov 2010
Posts: 259
Default

b3= 1356
c3= =MID(B3,LEN(B3),1)
d3= =MID(B3,LEN(B3)-1,1)
e3= =MID(B3,LEN(B3)-2,1)
f3= =MID(B3,LEN(B3)-3,1)


is that whatyou mean
Reply With Quote
  #5  
Old 17th March 2013, 11:04 AM
aussielongboat aussielongboat is offline
Member
 
Join Date: Nov 2010
Posts: 259
Default

even tidier:

b3= 1356
c3= =iferror(MID(B3,LEN(B3),1),"") etc

d3= =MID(B3,LEN(B3)-1,1)
e3= =MID(B3,LEN(B3)-2,1)
f3= =MID(B3,LEN(B3)-3,1)
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 09:03 AM.


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