Home : RIGHT
Q11585 - INFO: RIGHT

RIGHT (Primitive Spread Function) returns the rightmost characters from a text value.

SYNTAX:

RIGHT(Text, Num_chars)

REMARKS:

Arguments are as follows:

Argument Description 
Text Text string from which you want to return characters. 
Num_chars (Optional) Specifies the number of characters to return. 


The Text 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:

  • The Num_chars argument must be greater than or equal to zero.
  • If the Num_chars argument is greater than the length of text, RIGHT returns all text.
  • If the Num_chars argument is omitted, 1 is assumed. 

EXAMPLES:

RIGHT("Total Sales",5) equals Sales
RIGHT("Collie dog") equals g

Related Articles
Q11516 - INFO: CHAR
Q11547 - INFO: LEFT
Q11552 - INFO: LOWER
Q11557 - INFO: MID
Q11576 - INFO: PROPER
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/27/2008 5:15 PM.
Last Modified on 8/27/2008 5:15 PM.
Last Modified by No Author Name Available!.
Article has been viewed 2735 times.
Rated 0 out of 10 based on 0 votes.
Print Article
Email Article