TEXT FUNCTION
1.CONCATENATE FUNCTION :
Summary
The Excel CONCATENATE function concatenates (joins) join up to 30 text items together and returns the result as text. The CONCAT function replaces CONCATENATE in newer versions of Excel.
Purpose
Join text together
Return value
Text joined together.
Syntax
=CONCATENATE (text1, text2, [text3], ...)
Arguments
Usage notes
2. LEFT FUNCTION :-
Summary
The Excel LEFT function extracts a given number of characters from the left side of a supplied text string. For example, LEFT("apple",3) returns "app".
Purpose
Extract text from the left of a string
Return value
One or more characters.
Syntax
=LEFT (text, [num_chars])
Arguments
Usage notes
3.RIGHT FUNCTION
Summary
The Excel RIGHT function extracts a given number of characters from the right side of a supplied text string. For example, RIGHT("apple",3) returns "ple".
Purpose
Extract text from the right of a string
Return value
One or more characters.
Syntax
=RIGHT (text, [num_chars])
Arguments
Usage notes
4.DOLLAR FUNCTION
Summary
The Excel DOLLAR function converts a number to text using the Currency number format. The TEXT function can do the same thing, and is much more versatile.
Purpose
Convert a number to text in currency format
Return value
A number as text in currency format.
Syntax
=DOLLAR (number, decimals)
Arguments
Usage notes
5. LOWER FUNCTION
Summary
The Excel LOWER function returns a lower-case version of a given text string. Numbers and punctuation are not affected.
Purpose
Convert text to lower case
Return value
Text in lower case.
Syntax
=LOWER (text)
Arguments
Usage notes
6.UPPER FUNCTION
Summary
The Excel UPPER function returns a upper-case version of a given text string. Numbers and punctuation are not affected.
Purpose
Convert text to upper case
Return value
Uppercase text.
Syntax
=UPPER (text)
Arguments
Usage notes
7.PROPER FUNCTION
Summary
The Excel PROPER function capitalizes words given text string. Numbers and punctuation are not affected.
Purpose
Capitalize the first letter in each word
Return value
Text in proper case.
Syntax
=PROPER (text)
Arguments
Usage notes
Summary
The Excel REPLACE function replaces characters specified by location in a given text string with another text string. For example =REPLACE("XYZ123",4,3,"456") returns "XYZ456".
Purpose
Replace text based on location
Return value
The altered text.
Syntax
=REPLACE (old_text, start_num, num_chars, new_text)
Arguments
Usage notes
The REPLACE function is useful for replacing text at a known location in a given string. For example, the following formula replaces 4 characters starting at the 3rd character:
=REPLACE("XYZ123",4,3,"456") // returns "XYZ456"
You can use REPLACE to remove text by specifying an empty string ("") as new text. In the formula below, we use REPLACE to remove the first character:
=REPLACE("XYZ",1,1,"") // returns "YZ"
Excel has several functions that can be used to replace text. Below is a brief summary. Also see linked examples below.
9. MID FUNCTION
Summary
The Excel MID function extracts a given number of characters from the middle of a supplied text string. For example, =MID("apple",2,3) returns "ppl".
Purpose
Extract text from inside a string
Return value
The characters extracted.
Syntax
=MID (text, start_num, num_chars)
Arguments
Usage notes
10.LEN FUNTION
Summary
The Excel LEN function returns the length of a given text string as the number of characters. LEN will also count characters in numbers, but number formatting is not included.
Purpose
Get the length of text.
Return value
Number of characters
Syntax
=LEN (text)
Arguments
Usage notes
Comments
Post a Comment