Day 119 · Monday, 30 November 2026
Some rules have several ways to qualify, and meeting any one of them is enough. OR is TRUE when at least one of its conditions is, so inside an IF it turns a list of exemptions into a single test that charges only the people none of them cover.
You work the counter at a pharmacy, and the morning's prescriptions are in A2:D9 with each patient's age, whether they showed an exemption certificate and how many items are on the prescription. Each item costs the charge per item in G2, unless the patient is exempt, and they are exempt if any one of these is true: they are under 16, they are 60 or over, or they have a certificate. A patient who is exactly 16 pays; one who is exactly 60 does not. In E2, write a formula that returns the amount the first patient pays, 0 if they are exempt, then copy it down to E9.
A new exercise every morning, plus every day that came before it — a back catalogue that grows by one a day, whether or not you were here for it.
The last 14 days. Today's challenge is free while your streak is alive; Pro opens every past day too.