LEFT, LEFTB function

Category: Text
Introduced: Excel 2003

Summary

Returns the leftmost characters from a text value

Syntax

LEFT(text, [num_chars]) The function syntax has the following arguments:
• Text Required. The text string that contains the characters you want to extract.
• Num_chars Optional. Specifies the number of characters you want LEFT to extract. Num_chars must be greater than or equal to zero. If num_chars is greater than the length of text, LEFT returns all of text. If num_chars is omitted, it is assumed to be 1.
• Num_chars must be greater than or equal to zero.
• If num_chars is greater than the length of text, LEFT returns all of text.
• If num_chars is omitted, it is assumed to be 1.

Example

=LEFT(A2,4)
=LEFT(A3)

Microsoft Support Page

https://support.microsoft.com/en-us/office/left-function-9203d2d2-7960-479b-84c6-1ea52b99640c

Back to Functions