Day 123 · Friday, 4 December 2026

Today's challenge

Intermediate

Mask Supplier Bank Details on a Remittance with REPLACE and REPT

A remittance advice should show which account the money went to without printing the whole account number. REPLACE swaps a stretch of characters in the middle of a text for something else, and with LEN and REPT working out how long that stretch is, one formula masks an account number of any length.

Task:

You send out the Friday payment run's remittance advices, and finance has asked that they stop printing suppliers' full bank details. A2:B7 lists each supplier and the IBAN they were paid into. The IBANs come from six countries, so they are not all the same length. In C2, show the IBAN with its first 4 and last 4 characters kept and every character in between replaced by an asterisk, so GB33BUKB20201555555555 becomes GB33**************5555. The masked version must be exactly as long as the original. Copy the formula down to C7.

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.