VBA Projects

Full Access with Source Code
  • Designed and Developed by PNRao

  • Full Access with VBA Source Code

  • Well Commented Codes Lines

  • Creative and Professional Design

Manage Your Projects

120+ Project Management Templates

Seamlessly manage your projects with our powerful & multi-purpose templates for project management.

120+ PM Templates Includes:
  • 50+ Excel Templates

  • 50+ PowerPoint Templates

  • 25+ Word Templates

Share Post

What is the use of RIGHT function?

RIGHT Function in Excel returns the last or right most character(or Characters) in a text string.

 RIGHT Function in Excel -Use

What is the syntax of RIGHT function:




text – Is the text string contains the characters you want to extract.
num_chars – Its optional argument.The number of characters you want to extract. If this parameter won’t declare, Only one character is returned.

RIGHT Function in Excel – Examples

 RIGHT Function in Excel example

  In the above examples, you can observe how RIGHT function will return the last character(S).

 Example 1: It will return last four characters from the text string.

Example 2: In this case blank also consider as single character and returns last ten characters from the text string.

Example 3: It will return last nine characters from the text string.

Example 4: If the number of characters is more than the length of string, then it will return original text string.

Example 5: The number of characters should be more than ‘Zero’ , Otherwise it will through error.

 Example 6: If number of characters left blank, Only one character is returned from right side of string.

VBA example on RIGHT function

RIGHT function is also available in VBA, following is the example code:

Dim sOutout As String
sOutout1 =RIGHT(“Analysis Tabs “, 4)

Output: “Tabs”

Effortlessly Manage Your Projects and Resources
120+ Professional Project Management Templates!

A Powerful & Multi-purpose Templates for project management. Now seamlessly manage your projects, tasks, meetings, presentations, teams, customers, stakeholders and time. This page describes all the amazing new features and options that come with our premium templates.

Project Management Templates

All-in-One Pack
120+ Project Management Templates

Essential Pack
50+ PM Templates

Excel Pack
50+ Excel PM Templates

PowerPoint Pack
50+ Excel PM Templates

MS Word Pack
25+ Word PM Templates

Ultimate Project
Management Template
Ultimate Resource
Management Template
Project Portfolio
Management Templates
Categories: Excel FormulasTags: Last Updated: June 17, 2022

Leave A Comment