Advertisements

Excel RIGHT Function

The Excel RIGHT function returns the rightmost character or characters in a text string, based on the number of characters users specify. For example, =RIGHT(“Excel”, 2) returns “Ex”.

In this section:

Advertisements

  1. Syntax of RIGHT Function
  2. Extract specific number of characters from RIGHT
  3. Extract text or values after the last space
  4. Extract text after last hyphen (-)
  5. Extract text after last character

Excel RIGHT Function to extract the text from right

1. Syntax of RIGHT Function:

=RIGHT (text, [num_chars])

where:

  1. text: The text string or the cell reference containing characters users want to extract. REQUIRED.
  2. Num_chars: The number of characters users want to extract. It is an optional argument.
    • Num_chars must be greater than or equal to zero.
    • If num_chars is greater than the length of text, RIGHT returns all of text.
    • If num_chars is omitted, it is assumed to be 1.

2. Extract specific number of characters from RIGHT:

To extract specific number of characters from RIGHT, the formula is =RIGHT(C6, 4), which 4 characters from right.

Excel RIGHT Function

3. Extract text or values after the last space:

To extract text after last space, the formula is =RIGHT(SUBSTITUTE(C6,” “,REPT(” “,LEN(C6))),LEN(C6)), which returns the text after last space.

Excel RIGHT Function

4. Extract text after last hyphen (-):

To extract text after the last hyphen (-), the formula is =RIGHT(SUBSTITUTE(C6,”-“,REPT(” “,LEN(C6))),LEN(C6)), which returns the text after the last hyphen (-).

Excel RIGHT Function to extract text after last last hyphen (-).

5. Extract text after last character:

Advertisements

To extract text after the last character, the formula is =RIGHT(SUBSTITUTE(C6,”\”,REPT(” “,LEN(C6))),LEN(C6)), which returns text after the last character (\).

Excel RIGHT Function

More related readings:

  1. MS Office post on RIGHT Function
  2. How to extract first names from list of names
  3. Excel FIND Function
  4. Excel FIXED Function
  5. Excel ARRAYTOTEXT Function
  6. Excel CLEAN Function with practical examples
  7. Excel CONCAT Function to join text
  8. Excel REPLACE Function to replace text
  9. Excel TRIM Function with Practical Examples

14 Responses

  1. I’m really loving the theme/design of your web site. Do you ever run into any internet browser compatibility problems? A couple of my blog audience have complained about my site not operating correctly in Explorer but looks great in Safari. Do you have any recommendations to help fix this issue?

  2. Great post here. One thing I would really like to say is the fact most professional career fields consider the Bachelor Degree as the entry level requirement for an online course. Though Associate Qualifications are a great way to start, completing the Bachelors reveals many entrance doors to various occupations, there are numerous online Bachelor Diploma Programs available by institutions like The University of Phoenix, Intercontinental University Online and Kaplan. Another issue is that many brick and mortar institutions give Online types of their qualifications but usually for a substantially higher amount of money than the companies that specialize in online course plans.

  3. Hi, i feel that i saw you visited my site so i got here to “return the want”.I’m attempting to find issues to enhance my website!I suppose its adequate to use a few of your ideas!!

  4. Hey there! This post could not be written any better! Reading this post reminds me of my good old room mate! He always kept chatting about this. I will forward this write-up to him. Pretty sure he will have a good read. Thanks for sharing!

  5. Thanx for the effort, keep up the good work Great work, I am going to start a small Blog Engine course work using your site I hope you enjoy blogging with the popular BlogEngine.net.Thethoughts you express are really awesome. Hope you will right some more posts.

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisements