Presentation is loading. Please wait.

Presentation is loading. Please wait.

Boolean Expressions Return or display the Boolean value TRUE or FALSE

Similar presentations


Presentation on theme: "Boolean Expressions Return or display the Boolean value TRUE or FALSE"— Presentation transcript:

1 Boolean Expressions Return or display the Boolean value TRUE or FALSE
Boolean Functions

2 Syntax Examples Boolean Functions

3 Boolean Functions =AND(logical1, [logical2], …)
Returns TRUE if all arguments evaluate to true =OR(logical1, [logical2], …) Returns TRUE if at least one argument evaluates to true =NOT(logical) Changes FALSE to TRUE and TRUE to FALSE Boolean Functions

4 Syntax Examples DON’T DO THIS AND REALLY, DON’T DO THIS
=OR(A2=True,B2=True,C2=True) AND REALLY, DON’T DO THIS =OR(A2=“True”,B2=“True”,C2=“True”) Boolean Functions

5 Syntax Examples Boolean Functions

6 Syntax Examples Boolean Functions

7 Trips Costs Analysis Boolean Functions

8 Write a formula in cell Analysis
Write a formula in cell Analysis!B3, which can be copied down, to determine (T/F) if the corresponding student organization traveled to all 3 locations. Boolean Functions

9 Write a formula in cell Analysis
Write a formula in cell Analysis!C3, which can be copied down, to determine (T/F) if the corresponding student organization traveled to either Italy or France. Boolean Functions

10 Write a formula in cell Analysis
Write a formula in cell Analysis!D3, which can be copied down, to determine (T/F) if the corresponding student organization did not travel to any of the 3 locations. Boolean Functions

11 Write a formula in cell Analysis
Write a formula in cell Analysis!E3, which can be copied down, to determine (T/F) if the corresponding student organization traveled to 2 or more locations. Boolean Functions

12 Write a formula in cell Analysis
Write a formula in cell Analysis!F3, which can be copied down, to determine (T/F) if there were more trips to Italy than Spain for the corresponding Student Organization. Boolean Functions

13 Write a formula in cell Analysis
Write a formula in cell Analysis!E6, which can be copied down, to determine T/F if all of the student organizations traveled to all locations. Boolean Functions

14 Write a formula in cell Trips
Write a formula in cell Trips!H3, which can be copied down, to determine (T/F), if the corresponding student organization needs more sponsors. An organization needs more sponsors if the cost per trip was greater than $1,000,000 or (the number of trips to Italy was greater than 5 and the number of trips to France was greater than 5.) Boolean Functions

15 Embedded Boolean Functions
1 2 1 2 3 F T T Boolean Functions

16 Embedded Boolean Functions
1 2 1 2 3 F T F Boolean Functions

17 Embedded Boolean Functions
1 2 T F 1 2 F T Boolean Functions

18 Embedded Boolean Functions
1 2 T F 1 2 T T Boolean Functions


Download ppt "Boolean Expressions Return or display the Boolean value TRUE or FALSE"

Similar presentations


Ads by Google