Excel, MSOffice, Learn RIGHT Function, LEFT Function, MID Function, Mid Function in 30 Sec, Learn Excel with Vaidhvik
Do you want to learn Left, Right, and Mid Functions in Excel then this is the right place for you. You can learn is very easily by just following the given instructions. Here is information on the RIGHT
, LEFT
, and MID
functions in Excel, along with examples and explanations:
RIGHT Function:
Purpose: Extracts a specified number of characters from the right end of a text string.
Syntax:
RIGHT(text, num_chars)
text
: The text string from which you want to extract characters.num_chars
: The number of characters to extract.
Example:
Excel=RIGHT("Hello, World!", 5)
This formula will return "World!".
LEFT Function:
Purpose: Extracts a specified number of characters from the left end of a text string.
Syntax:
LEFT(text, num_chars)
text
: The text string from which you want to extract characters.num_chars
: The number of characters to extract.
Example:
Excel=LEFT("Hello, World!", 5)
This formula will return "Hello".
MID Function:
Purpose: Extracts a specified number of characters from a text string, starting at a specified position.
Syntax:
MID(text, start_num, num_chars)
text
: The text string from which you want to extract characters.start_num
: The position within the text string from which you want to start extracting characters.num_chars
: The number of characters to extract.
Example:
Excel=MID("Hello, World!", 7, 5)
This formula will return "World".
Combined Usage:
You can combine these functions to extract specific parts of a text string. For example, to extract the last name from a full name, you could use:
=RIGHT(A2, LEN(A2)-FIND(" ", A2))
This formula assumes that the last name is separated from the first name by a space.
Additional Tips:
- If
num_chars
is greater than the length of the text string,RIGHT
,LEFT
, andMID
will return the entire text string. - You can use these functions with cell references to extract characters from cells.
- For more complex text manipulation, consider using regular expressions or other text functions.