What does it do?

It returns the first character or characters in a text string, based on the number of characters you specify.

Formula breakdown:

=LEFT(text, [num_chars])

What it means:

=LEFT(look in this cell, extract X characters)


There are times when you will need to extract the first few characters of text within a cell, e.g. From a serial number, part number, name, phone number etc.

The LEFT formula in Excel can help you parse and extract the needed text easily.

In our example below, we have a Part # which has 10 characters and we want to extract all the characters before the hyphen “-“.

I explain how you can do this and please go to the bottom of the page to see the animated gif tutorial:

DOWNLOAD EXCEL WORKBOOK

 

STEP 1: We need to enter the Left function next to the cell that we want to extract the data from:

=LEFT

 

STEP 2: The Left arguments:

text

Which text do we want to extract the first X characters from?

Reference the cell that contains the text or value:

=LEFT(C9

1st argument

 

[num_chars]

How many characters do we want to extract from cell C9?

Enter a positive number only:

=LEFT(C9, 8)

2nd argument

 

STEP 3: Do the same for the rest of the cells by dragging the LEFT formula all the way down using the left mouse button.

Notice all of the first 8 characters in each text are now extracted:

Left 03

Left

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Share on Facebook

Tweet about this on Twitter

Share on LinkedIn

Share on Google+

Related Posts

Calculate Elapsed Time in Excel When you have two points in time and you want to calculate the amount of time elapsed, then you will need to use Excel´s TEXT functionSometimes data gets dumped into Excel with the following date & time format:24/01/2015  19:48:00.Using the TEXT function and enter...
Count Formula in Excel What does it do?Counts the number of cells that contain numbersFormula breakdown:=COUNT(value1, ...)What it means:=COUNT(range of cells to check, ...)Ever had a column of data and wanted to check if all of the values contain valid numbers?It would ...
Division Formula in Excel What does it do?Divides two numbersFormula breakdown:=number1 / number2What it means:=the number being divided / the number you are dividing byIn Excel dividing numbers together is really easy!The Division Formula is done through the use of the div...
Getting the remainder with Excel’s MOD Formu... What does it do?Gives you the remainder after dividing one number with anotherFormula breakdown:=MOD(number1, number2)What it means:=MOD(a number, divided by this number)In Excel it is very easy to divide two numbers.But how about if you need to ge...