Extract the last characters from a text string.
The RIGHT function extracts a given number of characters from the end of a text string. Its syntax is =RIGHT(text, num_chars). For example, =RIGHT("Excel Beginner",8) returns "Beginner".
Extract the last 8 characters of the text in A1 and place the result in B1.
Click cell B1, type your formula and press Enter.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| Text | Result | ||||
| 1 |
Excel Beginner
|
||||
| 2 | |||||
| 3 | |||||
| 4 | |||||
| 5 | |||||
| 6 |