Basic excel question

Discussion regarding the spreadsheet functionality of Bet Angel.
Post Reply
conorm
Posts: 39
Joined: Wed Apr 15, 2009 5:13 pm

Hi I'm trying to implement a formula where I can say if 'B' is greater than or equal to 'A' but less than or equal to '10.0' then BET otherwise do nothing, but can't quite seem to figure it out. This is what I have so far but it isn't working, what would you change?

=IF(A1<=B1<=10.0, "LAY", "")
User avatar
Euler
Posts: 26434
Joined: Wed Nov 10, 2010 1:39 pm

A quick way is to nest the IF statement

IF(A<=B,if(B<=10,dothis,elsedothis),elsedothis)
conorm
Posts: 39
Joined: Wed Apr 15, 2009 5:13 pm

Thanks again Euler, I've put it in and it seems to work in practice mode, I'll test it properly later.

Conor
olligeorge
Posts: 9
Joined: Mon May 25, 2009 10:11 am

Another way would be to enter:

=If(and(A1<=B1,B1<=10),"LAY","")

Hope this helps.
Post Reply

Return to “Bet Angel - Spreadsheet / Excel chat”