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
  #1  
Old 17th April 2007, 10:23 AM
dingoboy dingoboy is offline
Member
 
Join Date: Jan 1970
Posts: 241
Default Excel string help

I am trying to design a target betting programme, i need to put a string in E13 that does this.

if h12 = 0 then 10+G12+e12 (i can do this bit)

BUT,

if h12 (win div paid) has a figure above 0, i need to have e13 be 10 (back to start) i keep getting false error in the box

anyone who can help would be great.

anyone who wants a copy when its finished let me know, its free.

Cheers D
Reply With Quote
  #2  
Old 17th April 2007, 10:40 AM
Chrome Prince Chrome Prince is offline
Member
 
Join Date: Jan 1970
Posts: 4,415
Default

Quote:
Originally Posted by dingoboy
I am trying to design a target betting programme, i need to put a string in E13 that does this.

if h12 = 0 then 10+G12+e12 (i can do this bit)

BUT,

if h12 (win div paid) has a figure above 0, i need to have e13 be 10 (back to start) i keep getting false error in the box

anyone who can help would be great.

anyone who wants a copy when its finished let me know, its free.

Cheers D


=IF(H12=0,10+G12+E12,10)

You've left out the false part of the statement if I'm reading it right, that's why you get the false error. The above calc should fix it if I've got your idea right.

It reads like this =IF(TRUE, THEN DO THIS,OTHERWISE (FALSE) DO THIS)
__________________
RaceCensus - powerful system testing software.
Now with over 413,000 Metropolitan, Provincial and Country races!
http://www.propun.com.au/horse_raci...ng_systems.html
*RaceCensus now updated to 31/01/2025
Video overview of RaceCensus here:
http://www.youtube.com/watch?v=W821YP_b0Pg

Last edited by Chrome Prince : 17th April 2007 at 10:42 AM.
Reply With Quote
  #3  
Old 17th April 2007, 10:43 AM
Shaun Shaun is offline
Member
 
Join Date: Jan 1970
Location: Western Australia
Posts: 3,408
Default

=if(h12=0,10,h12)

I think this is what you are after if i understand correctly

The formula is saying if h12 = 0 then h12 = 10 otherwise it = h12
Reply With Quote
  #4  
Old 17th April 2007, 10:45 AM
Shaun Shaun is offline
Member
 
Join Date: Jan 1970
Location: Western Australia
Posts: 3,408
Default

We are on the same parth Chrome but i find it hard to put in formulas with out seing the results.
Reply With Quote
  #5  
Old 17th April 2007, 10:48 AM
dingoboy dingoboy is offline
Member
 
Join Date: Jan 1970
Posts: 241
Thumbs up Thank you

Your not bad you lot are you.

Thank you CP, it worked, i know where i went wrong, thanks to you also shaun.

Ill stick it here later when its done, should be a treat.

D
Reply With Quote
  #6  
Old 17th April 2007, 10:57 AM
dingoboy dingoboy is offline
Member
 
Join Date: Jan 1970
Posts: 241
Default how bout this then

I want to have the sheet only show the next row after i "tab"

ie

i have 22 rows.

first bet is in row 1, when that bet is over i put the win div into its spot then hit "tab", how can it then "add" the next row including calculations. If i leave it "open" it looks messy and the calculations are all on the incline waiting for a figure in win div.

I am a bit of a novice but having a go.

D
Reply With Quote
  #7  
Old 18th April 2007, 09:25 AM
SeeDee SeeDee is offline
Member
 
Join Date: Apr 2005
Posts: 39
Default

Quote:
Originally Posted by dingoboy
first bet is in row 1, when that bet is over i put the win div into its spot then hit "tab", how can it then "add" the next row including calculations. If i leave it "open" it looks messy and the calculations are all on the incline waiting for a figure in win div.

D
I don't know of any way to "switch off" a line. If I understand your requirement correctly you would be happy to "hide" only the remaining calculation fields on the page. I am assuming you will still want your future "bet" entries displayed.

This may be a bit cumbersome but IF conditions can be embedded. You could surround each calc field with another IF condition referring to the win cell on the previous line as follows:
assume H11 holds win details (empty if unused "" or numeric if used 0,etc).

IF(H11="","",IF(H12=0,10+G12+E12,10))

other calcs on line 12 would be: IF(H11="","",(other calc)).

As I said, it is cumbersome but will work if unused win cell is empty. And once you have completed one line you copy the rest. The only wrong 'un of course would be the first line which cannot refer to the previous line.

Hope it helps.

Last edited by SeeDee : 18th April 2007 at 09:33 AM.
Reply With Quote
  #8  
Old 18th April 2007, 02:26 PM
dingoboy dingoboy is offline
Member
 
Join Date: Jan 1970
Posts: 241
Thumbs up

Thanks see dee (that will be be in an hour)

I have decided to forget that bit, thanks for your help anyway.

I am going to do a differant thing and just put a carry over figure from 1 sheet to the 2nd.

Cheers and thanks
D
Reply With Quote
  #9  
Old 21st April 2007, 08:47 PM
Crackone Crackone is offline
Member
 
Join Date: Apr 2006
Posts: 368
Default

"I am a bit of a novice but having a go."
your not the only one dingoboy

I have one which I'm having trouble with

See if I can explain it
D2 price layed @
E2 price backed @
F2 the amount $
G2 amount win / Loss
H2 place horse came
now what I want to do if the horse doesn't place 1st 2nd or 3rd G2 to show 0 if it did place then G2 to show profit/loss ( F2*E2-(D2*F2))

I came up with something like this =IF("H2">4,F2*E2-(D2*F2),"H2"<4) played around for a while but cant get

Thanks
Reply With Quote
  #10  
Old 21st April 2007, 10:17 PM
moeee moeee is offline
Suspended
 
Join Date: Jan 1970
Location: Melbourne
Posts: 5,359
Default Try This

looks a bit untidy but will do the job

=IF(H2 =1,X1,IF(H2 =2,X1,IF(H2 =3,X1,0)))

Where X1 is the cell containing your Profit /loss Formula
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 03:45 PM.


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