Day 111 · Sunday, 22 November 2026
A returns policy is a set of overlapping conditions: how long since the sale, and whether there is a receipt. AND checks that several things are all true, OR checks that at least one is, and nesting them inside IF turns the policy leaflet into a column that decides every return the same way.
You run the returns desk at a homeware shop, and the week's return requests are in A2:D9, with the purchase date, the date the item came back and whether the customer had a receipt. The policy is: with a receipt and within 30 days of purchase, the customer gets a Refund. Without a receipt, they can still have Store credit within 30 days; with a receipt, Store credit runs to 60 days. Anything else is Decline. Day 30 and day 60 still count as inside the window. In E2, write a formula that returns "Refund", "Store credit" or "Decline" for the first return, working out the days from the two dates, 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.