Day 69 · Sunday, 11 October 2026

From the archive

Advanced

Pull a payment term off the end of a purchase order number with a varying number of segments

TEXTBEFORE and TEXTAFTER normally split at the first delimiter they meet, but a negative instance counts from the end instead — the only way to isolate a trailing segment when the segments ahead of it don't always number the same.

Task:

You process purchase orders for a manufacturing company. Each PO number ends with a payment term code, but the segments in front of it are not consistent — some carry a region code, some don't — so splitting at the first hyphen lands in a different place from one PO to the next. In column B, use TEXTBEFORE to pull everything before the payment term. In column C, use TEXTAFTER to pull the payment term itself. Fill in rows 2 through 6.

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

16
SolvedOpenProLatest

Recent days

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