Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
40 views

Excel Notes (Text Function)

The document discusses various text functions in Excel including UPPER, LOWER, PROPER, LEFT, RIGHT, MID, CONCATENATE, LEN, TRIM, FIND, SUBSTITUTE, REPLACE, and examples of using them to extract parts of text strings like names, domains, and changing case and text within strings. Specifically, it shows how to: 1) Convert text to uppercase, lowercase, and proper case. 2) Extract parts of strings using LEFT, RIGHT, MID based on character positions. 3) Join strings with CONCATENATE and substitute, replace parts of strings. 4) Calculate string lengths with LEN and trim extra spaces with TRIM. 5

Uploaded by

Hritika Singh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Excel Notes (Text Function)

The document discusses various text functions in Excel including UPPER, LOWER, PROPER, LEFT, RIGHT, MID, CONCATENATE, LEN, TRIM, FIND, SUBSTITUTE, REPLACE, and examples of using them to extract parts of text strings like names, domains, and changing case and text within strings. Specifically, it shows how to: 1) Convert text to uppercase, lowercase, and proper case. 2) Extract parts of strings using LEFT, RIGHT, MID based on character positions. 3) Join strings with CONCATENATE and substitute, replace parts of strings. 4) Calculate string lengths with LEN and trim extra spaces with TRIM. 5

Uploaded by

Hritika Singh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

EXCEL NOTES (TEXT FUNCTION)

TEXT FUNCTION

● UPPER CASE
● LOWER CASE
● PROPER CASE

1. UPPER CASE : to convert a text string to all uppercase letters


{ =UPPER(text)}

FOR EXAMPLE:
A11
varun FORMAT [ =UPPER(A11) ] :- VARUN

2. LOWER CASE; to convert a text string to all lowercase letters


{ =LOWER(text)}
FOR EXAMPLE:
A11
varun =LOWER(A11) :- varun

3. PROPER CASE :- it makes the first alphabet in capital letters.


{ =PROPER(text)}
FOR EXAMPLE:
A11 =PROPER(A11
varun Varun

LEFT FUNCTION
=LEFT(text,[num_chars])

FOR EXAMPLE
A11
varun gupta =LEFT(A11,5) :- varun

RIGHT FUNCTION
=RIGHT(text,[num_chars])
A11
varun gupta =RIGHT(A11,5) :- gupta
MID FUNCTION:- It pulls a given number of characters from the starting point.
=MID(text,start_num,num_chars)

A11
varun gupta =MID(A11,1,7) {no, of characters to pull}
varun g (it also contains ‘blank space’)
OR
=MID(A11,6,5) :-( gupt) { it will also count the blank space}

CONCATENATE:- it means to join the data


=CONCATENATE(text1,[text2]...)

A11 B11
varun gupta

=CONCATENATE(A11,B11)
varungupta
OR
=A11&B11
varungupta
If you want to put blank space between the words
=A11&” “&B11 :- varun gupta

LEN it is to find out the length of the word


=LEN(text)

A11
varun gupta =LEN(A11) ANS:- 11

TRIM it removes the extra space (space before the text and after the text)
=TRIM(text)

A11
spacevarunspace =TRIM(A11) :- varun
FIND it finds the position of the character or a number
=FIND(find_text,within_text,[start_num]) {start num is not necessary to be
given}

A11
varun gupta =FIND(“n”,A11) :- 5
=FIND(“g”,A11) 7

SUBSTITUTE it replaces the given alphabet with another alphabet.


=SUBSTITUTE(text,old_text,new_text,[instance_chars]
A11
varun gupta =SUBSTITUTE(A11,”a”,”b”,1)
vbrun gupta
{if we will not give any instance character or number then it will replace the number of
old character given with new character}
=SUBSTITUTE(A11”a”,”b”)
vbrun guptb

REPLACE the given number of text.


=REPLACE(old_text,start_num,num_char,new_text)
{start_num:- no. of position from where the character will change.}
{num_char:- no. of character which the new character takes place}

A11
varun gupta =REPLACE(A11,7,5,”aggarwal”)
varun aggarwal

REMOVAL OF DOMAIN ID

If the domain name is different e.g yahoo.com,gmail.com etc. and it is given to remove the
domain id, the format we use will be
=LEFT(text,find”@”,text)
A
1. hrtika.verma@gmail.com =LEFT(A1,FIND(”@”,A1)) hritik.verma@
2. anjali.solanki@yahoo.in =LEFT(A2,FIND(”@”,A2)) anjali.solanki@
3. anshu.jain@hotmail.com =LEFT(A3,FIND(”@”,A3)) anshu.jain@
REMOVAL OF @

1. hritik.verma@ =LEFT(A1,FIND(“@”,A1)-1)) hritik.verma


2. anjali.solanki@ =LEFT(A2,FIND(“@”,A2)-1)) anjali.solanki
3. anshu.jain@ =LEFT(A3,FIND(“@”,A3)-1)) anshu.jain

REPLACE “.’’ WITH “ “

1. hritik.verma =SUBSTITUTE(A1,”.”,” “) hritik singh


2. anjali.solanki =SUBSTITUTE(A2,”.”,” “) anjali solanki
3. anshu.jain =SUBSTITUTE(A3, “.”,” “) anshu jain

EXAMPLE 2
TO FIND THE FIRST NAME

4. hrtika.verma@gmail.com =LEFT(A4,FIND(“.”,A4)-1)) hritika


5. anjali.solanki@yahoo.in =LEFT(A5,FIND(“.”,A5)-1)) anjali
6. anshu.jain@hotmail.com =LEFT(A6,FIND(“.”,A6)-1)) anshu

EXAMPLE 3
TO FIND THE LAST NAME FROM FULL NAME

7. Hritika Singh =RIGHT(A7,(LEN(A7)-FIND(“ “,A7))) Singh


8. Anjali Solanki =RIGHT(A8,(LEN(A8)-FIND(“ “,A8))) Solanki
9. Anshu Jain =RIGHT(A9,(LEN(A9)-FIND(” “,A9))) Jain

EXAMPLE 4
TO CHANGE THE DOMAIN ID

10. hrtika.verma@gmail.com =LEFT(A10,FIND(“@”,A10)) &”love.com”


hritika.verma@love.com
11. anjali.solanki@yahoo.in =LEFT(A11,FIND(“@”,A11))&”love.com”
anjali.solanki@love.com
12. anshu.jain@hotmail.com =LEFT(A12,FIND(“@”,A12))&”love.com”
anshu.jain@love.com

You might also like