Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you'll get expert help in seconds

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

Excel RIGHT Function

Excel allows us to get a certain number of character from a string from the right side, by using the RIGHT function. This step by step tutorial will assist all levels of Excel users in getting characters from the right side.

Figure 1. The result of the RIGHT function

Syntax of the RIGHT Formula

The generic formula for the RIGHT function is:

=RIGHT(text, [num_chars])

The parameters of the RIGHT function are:

  • text – a text from which we want to take a certain number of characters from the right side
  • [num_chars] – a number of characters that we want to take out. This parameter is non-mandatory. If we omit it, the function will return the whole text.

Setting up Our Data for the RIGHT Function

In column B (“Text”), we have the list of texts. In column C (“5 Characters from the right”), we want to get the last 5 characters of every text.

Figure 2. Data that we will use in the RIGHT  example

Get the Last 5 Characters from a Text

In our example, we want to get the last 5 characters from the text in B3 and put it into the cell C3.

The formula in the cell C3 is:

=RIGHT(C3, 5)

The parameter text is the cell B3, while the num_char is 5.

To apply the ISTEXT function, we need to follow these steps:

  • Select cell C3 and click on it
  • Insert the formula: =RIGHT(C3, 5)
  • Press enter
  • Drag the formula down to the other cells in the column by clicking and dragging the little “+” icon at the bottom-right of the cell.

Figure 3. Using the RIGHT function to get the last 5 characters from a text

The value in B3 is “Jennifer”, so the last 5 characters in the cell C3 are “nifer”. As you can see in other examples, the RIGHT function returns numbers (C5) as well as spaces (C4).

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:

Leave a Comment

avatar

Subscribe to Excelchat.co

Get updates on helpful Excel topics

Subscribe to Excelchat.co

Did this post not answer your question?
Get a solution from connecting with the expert

Another blog reader asked this question today on Excelchat:

Post your problem and you'll get expert help in seconds

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc