Daniel is closing the March collections list for a parts distributor. The cutoff sits in G1 at 31 March. Every invoice below it needs a label, and the controller reads that label before deciding whose account goes on credit hold.
Four of the five invoices are marked Unpaid. Only two are actually late. INV-103 is the first thing to get wrong: it was due on 1 March and settled weeks ago. Its due date is long gone, yet nothing is owed on it. Flag that row and a sales rep gets blamed for a customer who already paid.
INV-105 is the second trap. Its due date lands exactly on the cutoff. An invoice due today has not missed its deadline yet, so the label should say so.
Count equal dates as late and the overdue figure is wrong on the first day of every month.
The two genuinely late invoices are the collection risk, and one of them has been overdue since the middle of the month. Everything is measured against G1, so the count has to hold when that date moves.
Column D wants OVERDUE or OK on every row. Row 8 holds three totals: the invoice count, the overdue count, and the OK count. The last two have to add back to the first, and the correct split here is two and three.