Premium exercise · Excel logic, arrays, and finance
AND and OR practice: bonus eligibility
Practice Excel AND and OR inside IF by deciding who earns a bonus from rating, tenure, and certification.
A bonus requires a rating of 4 or more, and also either 2 or more years or a Yes in the certified column.
In column D, use IF with AND and OR. Return Bonus or None.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Years | Rating | Certified | Bonus |
| 2 | 3 | 5 | No | Formula goes in D2. formula |
| 3 | 1 | 5 | Yes | Formula goes in D3. formula |
| 4 | 1 | 5 | No | Formula goes in D4. formula |
| 5 | 4 | 3 | Yes | Formula goes in D5. formula |
| 6 | 2 | 4 | No | Formula goes in D6. formula |
Hint
AND is true only when every test inside it is true. OR is true when any one test is true.
Explanation
This exercise practices IF, AND, and OR in Excel. The formula goes in D2, D3, D4, D5, D6.
AND demands the rating and at least one of the OR tests. A rating of 5 with 3 years or with certification is Bonus. A rating of 5 with one year and no certification is None, and a rating of 3 never qualifies.
The interactive sheet and a worked solution are part of Formula Drills Premium. The instructions and starter data on this page are the full problem.