While working with Microsoft Excel, did you get a situation where you need to extract the Right-side characters from a string? I believe most of your answers are YES. In the said scenario “RIGHT” function will help you to find the solution. We will be learning the Microsoft Excel “RIGHT” in detail, so stay with us and continue reading…
Function should give output in “General” format, however if output is not as per the desired format then we need to change the cell format to “GENERAL”.
RIGHT Function has argument two arguments i.e. text and num_chars where we need to give the cell references and parameters (i.e. count of characters required from right side in number format), we can give the parameters as per the requirement by following the “ , “ (i.e. Comma) as separator.
If parameters are not separated by “ , “ (i.e. Comma) or quotation mark is/are missing or any other function error then it will give output as “#VALUE!” (Error). So always ensure that function parameters are used to get the appropriate results/output.
RIGHT function is very advantageous in many ways. It helps for the document where extracting of characters from an available string is required. Extracting characters from an available string manually (one by one) in a report is very difficult and RIGHT Function helps to apply the function in large database at once and makes the work easy, saves time and increases efficiency.
=RIGHT(text,num_chars)
text argument, is used to give the cell reference from which characters should be extracted
num_chars argument, is used to give the numeric value of total count of characters you want to extract from right side of a string
– Spaces available in a string is counted as characters
– Currency symbols are not counted as characters and will be ignored by the function
– If “num_chars argument” field is blank, it will be counted as 1 (by default) and 1st character of the string will return as output
– “num_chars argument” should not be a negative value otherwise function output will return to “#VALUE!” (Error)
– If value in “num_chars argument” is greater than the total count of characters in a string, then function’s output will return the complete string.
– Function should give output in “General” format, however if output is not as per the desired format then we need to change the cell format to “GENERAL”.
Here, we have a column with Application names and there is requirement of extraction of last Right three character.
We will be following RIGHT function as follows:
“text argument”: “A2” is the cell reference from which characters should be extract
“num_char argument”: “3” is the total number of count of characters required from right side
Explanation: We can see in cell “A2” has string as “EXCEL” and right function extracted total 3 characters from a sting and “CEL” is returned as output in cell “B2”
Hope you learnt this Function!
Don’t forget to leave your valuable comments!
If you are liking our articles and want to learn more similar tricks, please Subscribe us or follow us on Social Media by clicking below buttons.
Watch: How to use WORKDAY & WORKDAY.INTL Function in Excel? What is WORKDAY Function? The WORKDAY function in Excel calculates a date that is a specified number of working days before or after a given date. It…
This guide will show you quick and easy methods to find the number of days between dates in Excel.
Do you need to know how many days are between two dates? Maybe you want to find out the days between today and a date in the past or future, or just count the working days between two dates? Whatever you need, one of the examples below will help you find the solution
This guide shows how to use the nested IF function in Excel to check several conditions. You will also learn about other functions that can be to use than a nested formula.
When you want to make decisions in Excel, you often use an IF formula. It checks if something is true, then gives one result if it is and another result if it isn’t. If you need to check more than one thing, you can put many IFs inside each other.
Although using multiple IFs is common, it’s not the only way to check several conditions in Excel. This guide will introduce you to some easier and useful alternatives.
The ROMAN function in Excel converts numbers into Roman numerals. It’s useful when you need to display numbers in the Roman numeral format, such as for dates, titles, or other specific purposes. The function allows you to choose how “traditional” or simplified the Roman numeral should be. To use the ROMAN function, you just need to enter the number you want to convert, and Excel will do the rest
MIN function is used to get the smallest number in range or list of values.MIN function has one required i.e. number1 and optional argument i.e. [number2]
LEN function is used for counting number of characters in available string. The output of the function returns the count in new cell.