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 24th August 2004, 04:10 PM
ingust ingust is offline
Member
 
Join Date: Jan 1970
Posts: 34
Default

can anybody help me with a formula this is what i want but it wont run, the result is to be in c3

=if(and(a2=1000,a2=1100,b2=1000,b2=1200),0,12,6,-6,"")

Reply With Quote
  #2  
Old 24th August 2004, 04:30 PM
sentabool sentabool is offline
Member
 
Join Date: Jan 1970
Location: Sydney
Posts: 10
Default

can you describe in words what you want - the formula doesn't make sense
Reply With Quote
  #3  
Old 24th August 2004, 04:42 PM
ingust ingust is offline
Member
 
Join Date: Jan 1970
Posts: 34
Default

if a2=1000 and b2=1000 then c2=0
if a2=1000 and b2=1100 then c2=6
if a2=1000 and b2=1200 then c2=12
if a2=1100 ans b2=1200 then c2=6

this is what i want to do but excel
wont do it i need it as one formula , i havn't got macros available i need to know if it is possible
Reply With Quote
  #4  
Old 24th August 2004, 04:57 PM
sentabool sentabool is offline
Member
 
Join Date: Jan 1970
Location: Sydney
Posts: 10
Default

Try this in cell c2 - a nested if statement: -

=IF(AND(A2=1000,B2=1000),0,IF(AND(A2=1000,B2=1100) ,6,IF(AND(A2=1000,B2=1200),12,IF(AND(A2=1100,B2=12 00),6,""))))
Reply With Quote
  #5  
Old 25th August 2004, 07:32 AM
ingust ingust is offline
Member
 
Join Date: Jan 1970
Posts: 34
Default

it works, thank you very much ,is there any limit to the length of the formula i can put in one cell,what i'am trying to do is put a speed rating program which is written in basic into excel and that requires distances from 1000 to 2000 metres which would have to written the way you have shown me.I have bought a couple of books on excel but none seem to have examples of this kind of forumla can you recommend any ?
Any how thanks again for the help
Reply With Quote
  #6  
Old 25th August 2004, 08:00 AM
zorro zorro is offline
Member
 
Join Date: Jan 1970
Location: Brisbane
Posts: 138
Default

Ingust,
The SUMPRODUCT function will probably do what you want. I use it to get Par times for distances at different tracks.
Rather than try to explain it here I recommend this link:
http://www.excel-vba.com/e-formula-sumproduct.htm
Reply With Quote
  #7  
Old 26th August 2004, 07:52 AM
ingust ingust is offline
Member
 
Join Date: Jan 1970
Posts: 34
Default

thanks Zorro for the site ,i will probably have to buy the book or software ,the other way works but takes up to much space with the 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 05:36 PM.


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