FormulaCraft

RIGHT

RIGHT returns a set number of characters from the end of a string, the mirror of LEFT. Combine it with LEN and FIND to grab a suffix of any length.

Excel
=RIGHT(A2, 3)
Google Sheets
=RIGHT(A2, 3)

Verified example

Computed by a real spreadsheet engine on the sample data below.

Code
ITEM-042

=RIGHT(A2, 3)042

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

How it works

  1. 1A2 holds the text.
  2. 23 is how many characters to take from the right.
  3. 3"ITEM-042" returns "042".

Need a version for your data?

Try: “Take the last 3 characters from the value in A2

Related

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: