Home : LEFT
Q11547 - INFO: LEFT

LEFT (Primitive Spread Function) returns the first (or leftmost) characters from a text value.

SYNTAX:

LEFT(MyText, Num_chars)

REMARKS:

Arguments are as follows:

Argument Description 
MyText Text string that contains the characters you want to extract. 
Num_chars (Optional) Specifies how many characters you want to extract. 


The MyText argument can be a string, a formula that returns a string, or a reference to a cell containing a string.

Note the following about the Num_chars argument:

Num_chars must be greater than or equal to zero.
If Num_chars is greater than the length of text, LEFT returns all text.
If Num_chars is omitted, "1" is assumed. 

EXAMPLES:

LEFT(A2,LEN(A2)–1)
LEFT("TotalPrice") equals T
LEFT("Total Price", 5) equals Total

Related Articles
Q11516 - INFO: CHAR
Q11552 - INFO: LOWER
Q11557 - INFO: MID
Q11576 - INFO: PROPER
Q11585 - INFO: RIGHT
Q11612 - INFO: UPPER

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 8/26/2008 4:29 PM.
Last Modified on 8/26/2008 4:29 PM.
Last Modified by No Author Name Available!.
Article has been viewed 2517 times.
Rated 9 out of 10 based on 2 votes.
Print Article
Email Article