My formula still does exactly the same job, but the LET function makes its logic clear.
I usually prefer writing my own logic in Excel, so I was hesitant to start using the Formula by Example tool. But when it turned my manual patterns into a perfectly structured formula, it became the ...