How to Use Excel RIGHT Function (Examples + Video)

Excel RIGHT Function (Example + Video)

Excel RIGHT Function

When to use Excel RIGHT Function

RIGHT function can be used to extract text from right of the string.

What it Returns

It returns the specified number of characters from the right of the string.

Syntax

=RIGHT(text, [num_chars])

Input Arguments

  • text – The text string that contains the characters you want to extract.
  • [num_chars] – (optional) the number of characters to extract from the right of the text string. If you omit this, is defaults to 1.

Additional Notes

  • Num_chars must be greater than or equal to zero.
  • If num_chars is greater than the length of the text, RIGHT returns all of text.
  • If the number of characters is not given, it returns the right-most character.
  • Spaces are counted as characters.
    • To remove extra spaces from text strings, use the TRIM function.
  • It also works with numbers, as it treats numbers as text (Live Example below).

Excel RIGHT Function – Live Example

Excel RIGHT Function – Video Tutorial

Related Excel Functions:

You may also like the following Excel tutorials:

Excel Ebook Subscribe

FREE EXCEL BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster

Sumit Bansal
Hello there! I'm Sumit Bansal, founder of trumpexcel.com and an Excel MVP. I started this website in 2013 with a simple goal: to share my love for Excel through easy to follow tips, tutorials and videos. I'm here to help you get the best out of MS Excel to save time and boost your productivity.

Leave a Comment

Free-Excel-Tips-EBook-Sumit-Bansal-1.png

FREE EXCEL E-BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster

Free-Excel-Tips-EBook-Sumit-Bansal-1.png

FREE EXCEL E-BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster

Free Excel Tips EBook Sumit Bansal

FREE EXCEL E-BOOK

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster