Excel function LEFT

Using the LEFT function, you can extract a specified number of characters starting from the beginning of a string ...

Let's try an example:

Cell B1 contains a reference.

We want to extract the first 4 numbers ...

To do this, select the LEFT function:

left function

The function will now return the first 4 characters: