Exercises / Logic and decisions · 3 of 9

Bonus only when both targets are met

AND(test1, test2, …) is TRUE only when every test is TRUE. Put it inside IF to act on several conditions at once.

Your taskAn employee gets a bonus when sales (B2) are at least G1 AND the rating (C2) is at least G2. In D2, use IF and AND to return "Bonus" or "No bonus". It will be copied down to D8.
Pro

Unlock this exercise and every module after the basics.

Pro opens every exercise in every module, your review schedule, and the final test for the course certificate.

RowABCDEFG
1EmployeeSalesRatingBonus?Sales target$50,000.00
2Ana$62,000.004Rating target4
3Ben$48,500.005
4Clara$50,000.004
5Dev$71,200.003
6Esra$39,900.002
7Finn$55,300.005
8Gia$50,100.003