RIGHT Function In Excel

This Excel Tutorial demonstrates how to use the Excel RIGHT Function in Excel to return text from the end of a cell, with formula examples.

RIGHT Function Description:

The RIGHT Function Returns a specified number of characters from the end of a cell.

Formula Examples:

right function examples

Example Formula Result
4 Characters =RIGHT(C5,D5) Text
99 characters =RIGHT(C6,D6) This is Text
First Space =RIGHT(C7,LEN(C7)-FIND(” “,C7)) is Text

Syntax and Arguments:

The Syntax for the RIGHT Formula is:

Function Arguments ( Inputs ):

text – A string of text.

num_chars – The number of characters from the end of the cell to return.

Additional Notes

If num_chars is greater than the length of the text, the RIGHT Function returns all text.

RIGHT Examples in VBA

You can also use the RIGHT function in VBA. Type:
For the function arguments (text, etc.), you can either enter them directly into the function, or define variables to use instead.

Return to the List of all Functions in Excel

How to use the RIGHT Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
After entering it in the cell, notice how the AND formula inputs appear below the cell:
right formula syntax
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=RIGHT(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
how to use the right function in excel

For more information about the RIGHT Formula visit the
Microsoft Website.

Posted in

Automate Excel
Left Menu Icon