Skip to main content

Uses of Left Right Mid Text Functions in Excel

Why To Use Left Function in Microsoft Excel?

The Left function is used to get first N characters from the given text string or the text contained in a cell.

Syntax of LEFT Function in Excel


LEFT(Text, Number_of_characters)

For example, the function LEFT("Normal",3) will return Nor.

Syntax of LEFT function with Cell Reference


LEFT(CellReference, Number_of_characters)

For example, let the cell A2 contains the text Humanity, the function LEFT(A2,5) will return Human.
Similarly if Cll A12 contains "England" then Left(A12,5) will give "Engla" that is first five characters of contents of cell A12 from left side.

How To Implement LEFT Function in Excel

Uses of Excel Functions Left Right in Excel Worksheet
Uses of Excel Functions Left Right in Excel Worksheet

 

 First of all place the cursor in an empty cell next to cell A2, to enter the function.
  • Type =
  • Type the function name LEFT
  • Type the left parenthesis (
  • Type A2 from keyboard.
  • Type , (that is Comma)
  • Type 5 so that the first 5 characters will be returned from cell A2's text. 
  • Press Enter key (You need not to enter right parenthesis, it will be automatically included)
  • The result Human will be displayed in the cell.
 Note: Number_of_characters will be normally greater than zero. If Number_of_characters will greater than the total length of the text then All the text will be returned. For example, in above example the function LEFT(A2, 10) will return the whole text in cell A2 that is Humanity.
Similarly, if we ignore the value of Number_of_characters then it is assumed to be 1 by default. So that the function LEFT(A2) will return only one character that is H.

Why To Use Right Function in Microsoft Excel?

The Right function is used to get the last N characters in a text string. Where N is the number of characters to be extracted from the given string.

Syntax of RIGHT Function in Excel


RIGHT(Text, Number_of_characters)

For example, the function Right("Night",2) will return ht.

Syntax of RIGHT function with Cell Reference


RIGHT(CellReference, Num_of_char)

For example, let the cell A2 contains the text Saturday, the function RIGHT(A2,3) will return day.

How To Implement RIGHT Function in Excel

uses-of-RIGHT-Excel-Function-Example-data-Results
 First of all place the cursor in an empty cell next to cell A2, to enter the function.
  • Type =
  • Type the function name RIGHT
  • Type the left parenthesis (
  • Type A2 from keyboard.
  • Type , (that is Comma)
  • Type 3 so that the last 3 characters will be returned from cell A2's text. 
  • Press Enter key (You need not to enter right parenthesis, it will be automatically included)
  • The result day will be displayed in the cell.
Note:
  • Num_of_char will be greater than zero normally. 
  • If Num_of_char is greater than the length of given text, then RIGHT function will return all of text. 
  • If the value of Num_of_char is not used then its default value 1 is used and only one last character is returned by the RIGHT function.

Why To Use MID Function in Microsoft Excel?

The MID function is used to get the last N characters in a text string. Where N is the number of characters to be extracted from the given string.

Syntax of RIGHT Function in Excel


MID(text, start_num, num_chars)

For example, the function MID("Night",1,3) will return Nig.

Syntax of RIGHT function with Cell Reference


RIGHT(CellReference, start_num, num_chars)

Where start_num is the number of starting character and num_chars is total number of characters to be extracted from the text.
For example, let the cell A2 contains the text Reservation,
  • the function MID(A2,6,3) will return vat.
  • the function MID(A2,6,10) will return vation. Since 10 is greater than the length of 6 th character to end of text, so this MID function will return all text starting from 6th character v to last character n.
  • the function MID(A2,1,1) will return only one character starting from position 1 that is R.

How To Implement RIGHT Function in Excel

uses-of-MID-Excel-TEXT-Function-Example

 First of all place the cursor in an empty cell next to cell A2, to enter the function.
  • Type =
  • Type the function name MID
  • Type the left parenthesis (
  • Type A2 from keyboard.
  • Type , (that is Comma)
  • Type 6 
  • Type ,
  • Type 3 so that the 3 characters from position 6 will be returned cell A2's text. 
  • Press Enter key (You need not to enter right parenthesis, it will be automatically included)
  • The result vat will be displayed in the cell.


    Comments

    Popular posts from this blog

    Explain different types of storage devices

    Topic: Explain different types of storage devices in Computer systems Storage Devices Storage devices are used to store data and instructions permanently. Storage devices are also called secondary storage devices / backing storage devices / external storage devices or auxiliary storage devices. Examples of storage devices include Hard Disk, CD and DVD etc. Why Secondary Storage Devices are Used? Secondary storage devices are used because: Primary memory(RAM) is volatile and temporary. When computer is switched off, all data in ram is erased. Storage devices can store large amounts of data and instructions permanently whereas Primary memory has less capacity of storing data. Types Of Storage Devices There are three main types of storage devices:  Magnetic Tape   Magnetic Disk   Optical Disk   Flash Memory storage devices 1. Magnetic Tape Magnetic tape is the oldest storage device. It is made of plastic coated with m...

    Electricity Bill Calculator Formulas in Excel

    Today, we will discuss How to create an Electricity Bill Calculator Worksheet by using Electricity Bill Calculator Formulas in Excel . The following formulas will be used in Electricity Bill Calculator Worksheet: Q: Prepare a worksheet according to the following instructions: Create a worksheet in MS Excel according to the requirements Enter sample data of Electricity units consumed by customers in a city Apply formula to calculate Units Consumed Apply formula to calculate Electricity Charges Apply formula to calculate Surcharge Apply formula to calculate Bill Payable Note: Every formula will start from  =  Units Consumed Formula=D5-C5 Electricity Charges Formula=IF(E5>200, E5*15,IF(E5>100, 1000+(E5-100)*12, E5*10)) SURCHARGE FORMULA = IF(F5>5000, F5*5%,IF(F5>1000, F5*3%, 0)) BILL PAYABLE FORMULA = SUM(F5:G5) Download Excel Electricity Bill Calculation Worksheet Free  Image for Electricity Bill Calculator Formulas ...

    Explain Main Difference Between System Software and Application Software

    Topic: Explain Main Difference Between System Software and Application Software            Differentiate between system software and application software Before , explaining the main differences between application software and system software, let us know the definitions of Application software and System software with examples. What is System Software: System software is a set of programs to control all components of computer and to manage overall operations of computer system. Differences between System software and application software System software is used as a base to install and run all application software. Examples of system software include: Operating Systems, like Microsoft Windows, DOS, Unix and Linux Device Drivers like Device driver software of a Printer (found on CD normally provided with the printer) Utility Programs like AVAST anti virus, Disk Scanners and File Viewers etc. What is Applicat...