| A | B | C | D | E | F | G | H | I | J | K | L | M | N | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Code | Country | ||||||||||||
| 2 | UK-4471 | UK | ||||||||||||
| 3 | FR-0298 | |||||||||||||
| 4 | DE-1150 | |||||||||||||
| 5 | ||||||||||||||
| 6 | ||||||||||||||
| 7 | ||||||||||||||
| 8 | ||||||||||||||
| 9 | ||||||||||||||
| 10 | ||||||||||||||
| 11 | ||||||||||||||
| 12 | ||||||||||||||
| 13 | ||||||||||||||
| 14 | ||||||||||||||
| 15 | ||||||||||||||
| 16 | ||||||||||||||
| 17 | ||||||||||||||
| 18 | ||||||||||||||
| 19 | ||||||||||||||
| 20 | ||||||||||||||
| 21 | ||||||||||||||
| 22 | ||||||||||||||
| 23 | ||||||||||||||
| 24 | ||||||||||||||
| 25 | ||||||||||||||
| 26 | ||||||||||||||
| 27 | ||||||||||||||
| 28 | ||||||||||||||
| 29 | ||||||||||||||
| 30 |
More to try
Each of these works on the sheet. Press one to put it in B2.
- gives 4471
RIGHT takes characters from the end: here, the four-digit number.
- gives 44
MID starts at a position and takes a number of characters: two characters from position 4.
- gives UK
FIND locates the dash, so this works however long the part before it is.
Common mistakes
- The result is text, even when it looks like a number, so it will not add up until it is converted.
- Counting characters by hand when lengths vary. Use FIND to locate a separator instead.
- Forgetting that spaces count as characters.
Practise it
Take the first characters →Related functions