### RIGHT Function In Excel

##### Associated Files Download Links

In this Article

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:

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:

1 |
=RIGHT(text,num_chars) |

### 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:

`application.worksheetfunction.right(text,num_chars)`

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:

`=AND(`

After entering it in the cell, notice how the AND formula inputs appear below the cell:

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 **A**rguments) to open the “Insert Function Dialog Box” for detailed instructions:

For more information about the RIGHT Formula visit the

Microsoft Website.