Download presentation

Presentation is loading. Please wait.

Published byMorgan Lancaster Modified over 3 years ago

1
Logical conditions If ………………..

2
Logical condition Is something which must either give a "true" or "false" answer / 2 possible results. For example is your name Fred or Are you taller than 1.50m

3
If conditions =If (d5 > 40,"old","young") =If (d5 > 40,"old","young") =If (c2="east", "ok","No") =If (c2="east", "ok","No")

4
Joint conditions (if either condition inside the brackets is true) =If(OR(c2="west", c2="east"),"ok","wrong") =If(OR(c2="west", c2="east"),"ok","wrong") =If(AND(c1 = "west", D2 > 5 ), "ok","wrong) =If(AND(c1 = "west", D2 > 5 ), "ok","wrong)

5
Other Ifs =If(D5>10000,D5*0.05,0) =If(D5>10000,D5*0.05,0) =If(Or(c5="East",C5="west"),d5*0.05, D5*0.04) =If(Or(c5="East",C5="west"),d5*0.05, D5*0.04) =IF(C5="east",1,IF(C5="west",2,3)) =IF(C5="east",1,IF(C5="west",2,3)) When we want more than two possible answers - if the answer in C5 is East then give/ multiply by 1 if the answer in C5 is West then give / multiply by 2. If not give 3. if the answer in C5 is West then give / multiply by 2. If not give 3.

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google