FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

RIGHT in Google Sheets

RIGHT with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the RIGHT Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Extract a suffix

A
1Code
2INV-204

Formula: C2: =RIGHT(A2,3)

Result: 204

The final three characters form the numeric suffix.

Default one character

A
1Code
2AB7

Formula: C2: =RIGHT(A2)

Result: 7

Omitting num_chars returns the last character.

Request the full text

A
1Code
2West

Formula: C2: =RIGHT(A2,10)

Result: West

Requesting more characters than exist returns all available text.

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
3[email protected][email protected]
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

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.