This function returns the specified rightmost characters from a text value.
RIGHT(text,num_chars)
This function has these arguments:
Argument | Description |
---|---|
text | Text string from which you want to return characters |
num_chars | [Optional] Number of characters to return; if omitted, calculation uses one (1); if not an integer, the number is truncated |
The text argument can be a string, a formula that returns a string, or a reference to a cell containing a string.
The num_chars argument has these rules:
Accepts string data for the text argument and numeric data for the num_chars argument. Returns string data.
RIGHT(""Total Sales"",5) gives the result Sales
RIGHT(""Collie dog"") gives the result g
This function is available in product version 1.0 or later.
LEFT | MID | Text Functions