Ghost Sheet

RIGHT: text from the end

How do I take the size from the end of a SKU?

This is the task for this topic. It is part of the plan; the level check before it is free.
C2Type a formula for C2, starting with =

Click the sheet or the button: the task opens in your workspace, ready to type

ABCDE
1OrderSKUSize
2WO-4401HOOD-OLIVE-M
3WO-4402TEE-RED-M
4WO-4403JKT-RED-L
5WO-4404TEE-OLIVE-S
6WO-4405TEE-RED-M
7WO-4406HOOD-SKY-S
8WO-4407TEE-RED-M
9WO-4408JKT-SKY-S
10WO-4409JKT-RED-L
11WO-4410HOOD-RED-S
12WO-4411JKT-RED-M
13
14
15
16
17
18
19
20
21
22
23
24
25
dashed: the answer to reachblack: matchesblue: right after new datared: wrong

Why it works

What it does
RIGHT(text, n) takes n characters from the end. When the end part has different lengths, work n out: total length minus the position of the last dash. Mark that dash with SUBSTITUTE’s instance number (here the second dash, the last one in these SKUs) so FIND can see it.
The shape of the formula
=RIGHT(text, LEN(text) - position of the last dash)
How to remember it
Measure from the end back to the last fence.
The usual mistake
RIGHT(B2, 1) because today’s sizes are S, M and L. XL becomes L and 10Y becomes Y.

Keep practicing

Updated