Day 113 · Tuesday, 24 November 2026

From the archive

Intermediate

Total a Customer's Spend Without a Helper Column Using SUMPRODUCT

When every order line has a quantity and a unit price, SUMIF cannot add up what a customer spent, because the money only exists once the two are multiplied. SUMPRODUCT multiplies and adds in one step, and comparisons inside it turn into the filter.

Task:

You do the books for a small coffee roaster that sells wholesale to cafés. This week's order book is in A2:E10: each line has the customer, the blend, the number of bags and the price per bag, which is lower on bigger orders. There is no line-total column, and the sheet is shared with the roastery floor, so you would rather not add one. In H3, work out how much the customer named in H2 spent this week. In H5, work out how much that same customer spent on the blend named in H4 alone. Both answers should update if someone types a different name into H2 or H4.

The daily challenge is part of Pro

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.

Every day so far

August 2026

September 2026

October 2026

November 2026

December 2026

4
SolvedOpenProLatest

Recent days

The last 14 days. Today's challenge is free while your streak is alive; Pro opens every past day too.