AND, OR, NOT and XOR
Exercise 1 of 5
In D3, check whether Ben scored 50 or more in both tests.
About this lesson
Combine tests with AND (all must be true), OR (one is enough), NOT (the opposite) and XOR (exactly one of two).
In this lesson
- In
D3, check whether Ben scored 50 or more in both tests. - In
D4, check whether Chloé scored 90 or more in at least one test. - In
D5, check whether Dev failed test 1 (under 50), usingNOT. - In
D2, check whether Ana passed exactly one of the two tests (at least 50 in one, but not both). - What does
=AND(B2>=50, C2>=50)give for Ana (78 and 49)?
Use the arrow keys to move between cells; each cell is read out as you go. Type a formula and press Enter. The sheet is also available as a table below.
fx
Type in D3 and press Enter to check.