RIGHT function

This function will return the right most characters of a text string based on a number specified.

Syntax

RIGHT(Text, Number)

  • Text (required) – This is the text string you want to return the right most characters from.
  • Number (optional) – This is the number of characters you want returned. If no value is entered, only the last character will be returned.

Example

In this example we get the right few characters of a text string. Notice that negative numbers result in a #VALUE! error and non whole numbers are rounded down to the whole integer.

=RIGHT(A2,B2)

RIGHT

About the Author

John MacDougall

John MacDougall

John is a Microsoft MVP and qualified actuary with over 15 years of experience. He has worked in a variety of industries, including insurance, ad tech, and most recently Power Platform consulting. He is a keen problem solver and has a passion for using technology to make businesses more efficient.

Related Posts

LOWER function

This function will convert text to all lower case letters. Syntax LOWER(Text)...

read more

Comments

0 Comments

Get the Latest Microsoft Excel Tips

Follow Us

Follow us to stay up to date with the latest in Microsoft Excel!

Subscribe for awesome Microsoft Excel videos 😃