Exceljet

Quick, clean, and to the point

Excel LEFT Function

Excel LEFT function
Summary 

The Excel LEFT function extracts a given number of characters from the left side of a supplied text string. For example, LEFT("apple",3) returns "app".

Purpose 
Extract text from the left of a string
Return value 
One or more characters.
Syntax 
=LEFT (text, [num_chars])
Arguments 
  • text - The text from which to extract characters.
  • num_chars - [optional] The number of characters to extract, starting on the left side of text. Default = 1.
Version 
Usage notes 

The LEFT function extracts a given number of characters from the left side of a supplied text string. The second argument, called num_chars, controls the number of characters to extract. If num_chars is not provided, it defaults to 1. If num_chars is greater than the number of characters available, LEFT returns the entire text string.

Use the RIGHT function to extract text starting from the right side of text, and the MID function to extract from the middle of text.

The LEFT function is commonly combined with other functions like LEN and FIND to extract text in more complex scenarios.

Examples

To extract the first three characters of "January":

=LEFT("January",3) // returns "Jan"

If the optional argument num_chars is not provided, it defaults to 1:

=LEFT("ABC") // returns "A"

Notes

  • num_chars is optional and defaults to 1.
  • LEFT will extract digits from numbers as well as text.
  • Number formatting is not counted or extracted.

Download 100+ Important Excel Functions

Get over 100 Excel Functions you should know in one handy PDF.