 # Excel RIGHT Function – Formula, Examples, How to Use?

The RIGHT formula in Excel is a way to take a piece of text and only show the last few letters of it.

“Imagine you have a big bag of letters, and you want to take out the last few letters and make a new word with them. The RIGHT formula in Excel can help you do that! You just have to tell it how many letters you want to take out of the bag, and it will do the rest. It’s like magic!”

The RIGHT formula in Excel is used to extract a specified number of characters from the end of a string. This can be particularly useful when working with data that contains variable-length text, such as addresses or names.

Here is an example of how to use the RIGHT formula:

 A B C 1 City Name Formula Output 2 New York =RIGHT(A2, 4) York 3 Mumbai =RIGHT(A3, 3) bai 4 New Delhi =RIGHT(A4, 5) Delhi 5 Gurgaon =RIGHT(A5, 4) gaon

In the above table, the first column (A) contains the city names, the second column (B) contains the formula, and the third column (C) shows the final output.

The formula in  row 2 of column B is as follows:

=RIGHT(A2, 4) – This formula extracts the last 4 characters from the string in cell A2 (New York) and returns “York” in cell C2.

The syntax of the RIGHT formula is as follows:

=RIGHT(text, [num_chars])

text: is the string from which you want to extract characters.

[num_chars]: is the number of characters you want to extract from the end of the string.

In this example, we have used the city names in column A as the text argument and 4 as the number of characters we want to extract from the end of string.

It’s worth noting that if the number of characters specified in the formula is greater than the length of the string, the formula will return the entire string.

I hope this example helps you understand how to use the RIGHT formula in Excel. Happy data crunching!

1 use case of RIGHT formula in Excel.

Extracting the last few characters of a string: This is one of the most basic uses of the RIGHT formula. You can use it to extract the last few characters of a string of text. For example, you might use the formula =RIGHT(A1, 3) to extract the last three characters of the text in cell A1. This could be useful if you have a list of file names and you only want to see the file extensions, or if you have a list of product codes and you only want to see the last few digits.

Top mistakes users make while using RIGHT formula in Excel.

Using the RIGHT formula in Excel can be a powerful tool for manipulating text data, but there are a few common mistakes users make that can lead to errors or unexpected results.

1. Not specifying the correct number of characters: The RIGHT formula requires you to specify the number of characters you want to extract from the text. If you don’t specify the correct number, you may end up extracting more or fewer characters than you intended.
2. Not accounting for trailing spaces: sometimes in data text may have trailing spaces that can cause issues with your formula.

Avoiding these mistakes can help ensure that your RIGHT formula works as expected, and you get the desired results when manipulating data.

The alternative(s) to RIGHT formula in Excel.

The RIGHT formula in Excel is a powerful tool for manipulating text data, but there is a  alternative way you can use to achieve similar results.

1. Text to Columns: Text to columns is a data manipulation feature in Excel that allows you to split a single column of data into multiple columns based on a delimiter, such as a comma or a space. This can be useful if you want to separate a string of text into multiple parts, such as separating a full name into first and last name.

Share: 