Smartgambler
Pro-Punter

Go Back   OZmium Sports Betting and Horse Racing Forums > Public Forums > General Topics
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 12th July 2006, 08:35 PM
Twodogs Twodogs is offline
Member
 
Join Date: Jan 1970
Posts: 221
Question Excel help again!!!

Good Evening

Wondering what is possible? I have a column with winning dist data as follows
1(1300) 1(2050) 1(2500) 1(3050) 1(3200)

What I would like to be able to do is have a formula which would give the winning distance range like this 1300-3200 in an alternative column.

Thanks
Twodogs
Reply With Quote
  #2  
Old 13th July 2006, 06:09 AM
jfc jfc is offline
Member
 
Join Date: Jan 1970
Location: Sydney
Posts: 402
Default

Quote:
Originally Posted by Twodogs
Good Evening

Wondering what is possible? I have a column with winning dist data as follows
1(1300) 1(2050) 1(2500) 1(3050) 1(3200)

What I would like to be able to do is have a formula which would give the winning distance range like this 1300-3200 in an alternative column.

Thanks
Twodogs


=CONCATENATE(SUBSTITUTE(MID(A1,1+FIND("(",A1),4),")","")," - ",SUBSTITUTE(LEFT(RIGHT(A1,5),4),"(",""))
Reply With Quote
  #3  
Old 13th July 2006, 07:12 AM
Twodogs Twodogs is offline
Member
 
Join Date: Jan 1970
Posts: 221
Thumbs up

Thanks JFC

Works a treat!!! Don't for a moment understand it but all I can say is you beauty!!

Twodogs

ps what would be needed when there is no data in the column due to no winning distances to return a a zero rather than "value"

Last edited by Twodogs : 13th July 2006 at 07:20 AM.
Reply With Quote
  #4  
Old 13th July 2006, 10:18 AM
Twodogs Twodogs is offline
Member
 
Join Date: Jan 1970
Posts: 221
Default

Hi JFC

Can I overcome the fact that when the column with winning distances is empty due to no winning distance I get a "value" error or would I need to look at the column with the winning distances and do something with that data first before applying your formula.

Thanks
Twodogs
Reply With Quote
  #5  
Old 13th July 2006, 10:40 AM
jfc jfc is offline
Member
 
Join Date: Jan 1970
Location: Sydney
Posts: 402
Default

Quote:
Originally Posted by Twodogs
Hi JFC

Can I overcome the fact that when the column with winning distances is empty due to no winning distance I get a "value" error or would I need to look at the column with the winning distances and do something with that data first before applying your formula.

Thanks
Twodogs


=IF(LEN(A1)>3,CONCATENATE(SUBSTITUTE(MID(A1,1+FIND("(",A1),4),")","")," - ",SUBSTITUTE(LEFT(RIGHT(A1,5),4),"(",""))," 0 ")
Reply With Quote
  #6  
Old 13th July 2006, 12:38 PM
Twodogs Twodogs is offline
Member
 
Join Date: Jan 1970
Posts: 221
Talking

Thanks JFC,

Your time and help is much appreciated.

Twodogs
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:02 PM.


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