The LEFT function

Returns the first characters of a text. Without num_chars it returns one character.

Syntax

LEFT(text, [num_chars])
text
The text to take characters from.
num_chars (optional)
How many characters to return. Default 1.

Examples

C1=LEFT(A2,2)
ABC
1CodeDK
2DK-2100

In plain words: Take the first 2 characters of the code in A2.

C1=LEFT(A2)
ABC
1CodeD
2DK-2100

Practice LEFT

Read the guide

Related functions