Returns the specified number of characters from the right of the specified text.
Syntax
![]() |
---|
RIGHT( Text text, [Integer length = 1] ) → Text |
If length is negative, the function returns #VALUE!. If length is greater than the number of characters in text, the entire text is returned. If length is not an integer, it is automatically truncated.
Formula
![]() |
---|
=RIGHT(A1,LEN(A1)-1) |
Function Reference
LEN Function
MID Function
LEFT Function