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

Presentation is loading. Please wait.

# Logical conditions If ………………... Logical condition Is something which must either give a "true" or "false" answer / 2 possible results. For example is.

## Presentation on theme: "Logical conditions If ………………... Logical condition Is something which must either give a "true" or "false" answer / 2 possible results. For example is."— Presentation transcript:

Logical conditions If ………………..

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

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

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)

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

Ads by Google