Skip to content

LEFT, RIGHT and MID

Extract a useful part from a text code

0 of 3 done · Lesson 15 of 18

Understand

An operations report packs country, office and case number into one code. LEFT takes characters from the beginning, RIGHT takes them from the end, and MID takes a section from the middle.

=LEFT(text to cut, characters from the left, optional)
=RIGHT(text to cut, characters from the right, optional)
=MID(text to cut, where to start, characters to take)

A worked example

=RIGHT(A2, 4)
text to cutcharacters from the left

A2 is NZ-AKL-1042, so this returns 1042

The sheet you are working with

Sheet for LEFT, RIGHT and MID
Row numberABC
1Case codeOwnerTeam
2NZ-AKL-1042AmeliaSales
3AU-SYD-2075HemiSupport
4NZ-WLG-3184PriyaFinance
5NZ-CHC-4221LeoOperations
6AU-MEL-5360SofiaSales
7NZ-DUD-6408NoahSupport