FormulaCamp
Completed
← All functions
Text

RIGHT

Last n characters.

Syntax

RIGHT(text, [num_chars])

Example: =RIGHT(A2,5)

Available in: All versions

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in D2: =RIGHT(A5,4)

Example spreadsheet for RIGHT
ABCD
1TextOtherResult
2Alice Johnsonalice johnson0415
3alice@shop.comALICE@shop.com
4 extra spaces
5SKU-2026-0415
6iced coffee, tea, sugar
7Order 417 shipped
Result in D2: 0415
Practice this in a lesson: Choosing the Right Chart

More in Text