Texteasy
RIGHT()
Returns a substring from the end of a specified string.
Syntax
fx
=RIGHT(string, [number_of_characters])
Try it
F2
→
tech
Sample data · sales.csv
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Company | Region | Quarter | Revenue |
| 2 | Acme Co | West | Q1 | 18,400 |
| 3 | Acme Co | West | Q2 | 22,100 |
| 4 | Acme Co | West | Q3 | 31,700 |
| 5 | Acme Co | West | Q4 | 48,200 |
| 6 | Globex | East | Q1 | 14,200 |
| 7 | Globex | East | Q2 | 19,800 |
| 8 | Globex | East | Q3 | 23,400 |
Common pitfalls
- Like
LEFT, counts from the END of the string by character count, not byte count. - If the requested length exceeds the string,
RIGHTreturns the entire string: no error, no padding.
Related formulas
Used by