0% found this document useful (0 votes)
18 views

Text Functions

Uploaded by

Shivani Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Text Functions

Uploaded by

Shivani Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 28

LOOKUPASHEESH.

IN

LOWER Function UPPER Function


Example Result Example Result
David Alex david alex David Alex DAVID ALEX
DAVID ALEX david alex DAVID ALEXDAVID ALEX
david alex david alex david alex DAVID ALEX
DAVID Alex david alex DAVID Alex DAVID ALEX
david ALEX david alex david ALEX DAVID ALEX

This function converts all the This function converts all the
letters in a text string to smallcase. letters in a text string to
Argument: LOWER(text) uppercase.
Argument: UPPER(text)
Lower
PROPER Function Upper
Example Result Proper
Equip yourself with
David Alex David Alex more advance tips and
DAVID ALEX David Alex techniques
david alex David Alex @LOOKUPASHEESH.IN
DAVID Alex David Alex
david ALEX David Alex

This function converts the first


letter of all the words in a text
string to uppercase and others
as smallcase.
Argument: PROPER(text)
LOOKUPASHEESH.IN

LEFT Function RIGHT Function


Example Result Example Result
David Alex Dav David Alex lex
This function returns the specified This function returns the
number of characters from the specified number of
start of the string. i.e. the Left of characters from the end of the
the Input string string. i.e. the right of the
Argument: Input string
LEFT(text,num_chars) Argument:
RIGHT(text,num_chars)

[email protected]
Lower
MID Function Learn Advance Excel Upper
@LOOKUPASHEESH.IN
Example Result Proper
David Alex av
This function returns the
specified number of characters
from the middle of the string
from a given starting point
Argument:
MID(text,start_num,num_ch
rs)
LOOKUPASHEESH.IN

LEN Function ✘ SUBSTITUTE Function


Example Result Example Result
lookupasheesh 13 sxcuse ExcuEe
lookup asheesh 14 sxcuse Excuse
lookupasheesh.18 Jack & Jack Jack & jill
This function returns the count of It substitutes one or more
character of the supplied string. It occurances of the existing text
also treats space as a character. with the new text, within the
Argument: LEN(text) original text string. It is case-
sensitive
Argument:
SUBSTITUTE(text,old_text,
new_text,[instance_num])

Excuse
Jack & Jill
Lower
REPT Function Upper
Example Result Proper
q qqqqq
Equip yourself with
pq pqpq more advance tips and
20 IIIIIIIIIIIIIIIIIIII techniques
@LOOKUPASHEESH.IN
This funtion repeats the
specified text for a given
number of times. It can be
used to create in-cell charts.
Argument:
REPT(text,number_times)

rrrrr
LOOKUPASHEESH.IN

✘ CONCATENATE Function TEXT Function


Text 1 Text 2 Result Example
David Alex DavidAlex 41975
David Alex David Alex 12345778
David Alex David Alex 1111666
This function joins several strings together into one It converts value to text as per
text string. First argument of this function is the format suggested by the
mandatory and rest all are optional. You can use user. "format_text" argument
upto 255 arguments. should always be wrapped in
Argument: CONCATENATE(text1,[text2],….) quotes(")
Argument:
TEXT(value,format_text)

asheesh 2100002 R00021C00002


Err:502

David Alex
David Alex
Lower
TEXT Function ISNUMBER Function Upper
Result Example Result Proper
December q FALSE
Equip yourself with
12345778.00 #N/A FALSE more advance tips and
01111666 20 TRUE techniques
@LOOKUPASHEESH.IN
nverts value to text as per This function checks if the
format suggested by the value supplied is a Numeric
r. "format_text" argument value or not. It returns TRUE or
uld always be wrapped in FALSE
tes(") Argument:
ument: ISNUMBER(value)
T(value,format_text)
LOOKUPASHEESH.IN

✘ EXACT Function FIND Function


Text 1 Text 2 Result Example
David DAVID FALSE David
ASHEESH ASHEESH TRUE Hi Mate
Lookupasheesh LOOKUPASHEESFALSE Allow
This function checks if the two strings are exactly same It returns the position of a
and returns TRUE or FALSE. This is a case -sensitive specified character or sub-
function. string within a supplied text
Argument: EXACT(text1,text2) string. It is case sensitive. No
Wildcards
Argument:
FIND(find_text,within_text,
[start_num])
Lower
FIND Function SEARCH Function Upper
Result Example Result Proper
5 David 5
Equip yourself with
3 Hi Mate 3 more advance tips and
3 Allow 3 techniques
@LOOKUPASHEESH.IN
turns the position of a It returns the position of a
cified character or sub- specified character or sub-
ng within a supplied text string within a supplied text
ng. It is case sensitive. No string. It is not case sensitive.
dcards Accepts Wildcards
ument: Argument:
D(find_text,within_text, SEARCH(find_text,within_te
art_num]) xt,[start_num])
LOOKUPASHEESH.IN

Try yourself

Name Left Right Num_Chars Name MID

Hello How are you Hello Ho are you 8 Hello How are you How
lookupasheesh lookupas pasheesh 7 lookupasheesh asheesh
happy new year happy ne new year 9 happy new year happy
happy new year year
Starting
Num_Chars
position
7 3
7 7
1 5
11 4
Input data Proper case

First Name Middle Last Name First Name M. Name Last Name

David p Alex David P Alex


Asheesh MattOO Asheesh Mattoo
KIRAN DAS Mukherjee Kiran Das Mukherjee
Jeevan Sharma Jeevan Sharma
vishal s Aggarwal Vishal S Aggarwal
Abhay DEsai Abhay Desai
Julie J WILLIAMS Julie J Williams
Waqar a Younis Waqar A Younis
Trilok saI mahajan Trilok Sai Mahajan
SourabH Kumar Sourabh Kumar
Kuldeep kumar Anand Kuldeep Kumar Anand
MaNoj Desai Manoj Desai
Rohit verma Rohit Verma
Sachin RANA Sachin Rana
Kiran bala Mahajan Kiran Bala Mahajan
Concatenate Split the name in Column H

Name (without middle name) Full Name First Name Middle Last Name

David Alex David P Alex


Asheesh Mattoo Asheesh Mattoo
Kiran Mukherjee Kiran Das Mukherjee
Jeevan Sharma Jeevan Sharma
Vishal Aggarwal Vishal S Aggarwal
Abhay Desai Abhay Desai
Julie Williams Julie J Williams
Waqar Younis Waqar A Younis
Trilok Mahajan Trilok Sai Mahajan
Sourabh Kumar Sourabh Kumar
Kuldeep Anand Kuldeep Kumar Anand
Manoj Desai Manoj Desai
Rohit Verma Rohit Verma
Sachin Rana Sachin Rana
Kiran Mahajan Kiran Bala Mahajan
David Alex
Asheesh Mattoo
David P Alex Kiran erjee
Asheesh Mattoo Jeevan Sharma
Kiran Das Mukherjee Vishal garwal
Jeevan Sharma Abhay Desai
Vishal S Aggarwal Julie liams
Abhay Desai Waqar ounis
Julie J Williams Trilok ahajan
Waqar A Younis Sourabh Kumar
Trilok Sai Mahajan Kuldeep r Anand
Sourabh Kumar Manoj Desai
Kuldeep Kumar Anand Rohit Verma
Manoj Desai Sachin Rana
Rohit Verma Kiran hajan
Sachin Rana
Kiran Bala Mahajan
5 David 6 6 6
7 Asheesh 8 8
5 Kiran 6 6
6 Jeevan 7 7
6 Vishal 7 7
5 Abhay 6 6
5 Julie 6 6
5 Waqar 6 6
6 Trilok 7 7
7 Sourabh 8 8
7 Kuldeep 8 8
5 Manoj 6 6
5 Rohit 6 6
6 Sachin 7 7
5 Kiran 6 6
Question:
Write an excel formula that will extract First, Middle and Last Name
Note: If there is no Middle Name - then the Middle Name column
needs to be blank (even with formula)

Name First Name Middle Name Last Name


Shruthi Reddy Kesani Shruthi Reddy Kesani
Vinod Kumar Jaanam Vinod Kumar Jaanam
Varun Mahajan Varun Mahajan
Sulabh Dawadi Sulabh Dawadi
Input data 1) Split Name 2) Split Name
Second Name/Last
Full Name First Name Second Name Last Name First Name Name
David P Alex David P Alex David P
Asheesh Mattoo Asheesh Mattoo Asheesh Mattoo
Kiran Das Mukherjee Kiran Das Mukherjee Kiran Das
Jeevan Sharma Jeevan Sharma Jeevan Sharma
Vishal S Aggarwal Vishal S Aggarwal Vishal S
Abhay Desai Abhay Desai Abhay Desai
Julie J Williams Julie J Williams Julie J
Waqar A Younis Waqar A Younis Waqar A
Trilok Sai Mahajan Trilok Sai Mahajan Trilok Sai
Sourabh Kumar Sourabh Kumar Sourabh Kumar
Kuldeep Kumar Anand Kuldeep Kumar Anand Kuldeep Kumar
Manoj Desai Manoj Desai Manoj Desai
Rohit Verma Rohit Verma Rohit Verma
Sachin Rana Sachin Rana Sachin Rana
Kiran Bala Mahajan Kiran Bala Mahajan Kiran Bala

1) Split the name using SUBSTITUTE, REPT, LEFT,RIGHT,TRIM


2) Split the name using one single formula.

alt t u f for ealuation of function


Name

Last Name

Alex DavidPAlex David P 8


2 Asheesh #VALUE!
Mukherjee Kiran Das 10
Jeevan #VALUE!
Aggarwal Vishal S 9
Abhay #VALUE!
Williams Julie J 8
Younis Waqar A 8
Mahajan Trilok Sai 11
Sourabh #VALUE!
Anand Kuldeep Kumar 14
Manoj #VALUE!
Rohit #VALUE!
Sachin #VALUE!
Mahajan Kiran Bala 11
how to extract middle name

FALSE

tion of function
Second Second
Full Name First Name Name Last Name First Name Name/Last Last Name
Name

David P Alex m David P m David P Alex


Asheesh Mattoo Asheesh Mattoo Asheesh Mattoo
Kiran Das Mukherjee Kiran Das Mukherjee Kiran Das Mukherjee
Jeevan Sharma Jeevan Sharma Jeevan Sharma
Vishal S Aggarwal high Vishal S high Vishal S Aggarwal
Abhay Desai Abhay Desai Abhay Desai
Julie J Williams Julie J Williams Julie J Williams
Waqar A Younis khan Waqar A khan Waqar A Younis
Trilok Sai Mahajan Trilok Sai Mahajan Trilok Sai Mahajan
Sourabh Kumar Sourabh Kumar Sourabh Kumar
Kuldeep Kumar Anand Kuldeep Kumar Anand Kuldeep Kumar Anand
Manoj Desai Manoj Desai Manoj Desai
Rohit Verma Rohit Verma Rohit Verma
Sachin Rana Sachin Rana Sachin Rana
Kiran Bala Mahajan s Kiran Bala s Kiran Bala Mahajan
Len find substitued

14 13 David P Alex m
14 #VALUE! Asheesh Mattoo
19 #VALUE! Kiran Das Mukherjee
13 #VALUE! Jeevan Sharma
22 18 Vishal S Aggarwal
11 #VALUE! Abhay Desai
16 #VALUE! Julie J Williams
19 15 Waqar A Younis khan
18 #VALUE! Trilok Sai Mahajan
13 #VALUE! Sourabh Kumar
19 #VALUE! Kuldeep Kumar Anand
11 #VALUE! Manoj Desai
11 #VALUE! Rohit Verma
11 #VALUE! Sachin Rana
20 19 Kiran Bala Mahajan s
Full
formula
Mid without error Trim for middle
name
P P P P Alex
#VALUE!
#VALUE! Das
#VALUE!
S S S S Aggarwal
#VALUE!
#VALUE! J
A A A A Younis
#VALUE! Sai
#VALUE!
#VALUE! Kumar
#VALUE!
#VALUE!
#VALUE!
Bala Bala Bala Bala Mahajan
Err:502
Input data 1) Split Name 2) Split Name
Second Name/Last
Full Name First Name Second Name Last Name First Name Name
David P Alex Mohan David P Mohan David P
Asheesh Mattoo kumar Asheesh Mattoo kumar Asheesh Mattoo
Kiran Das Mukherjee das Kiran Das das Kiran Das
Jeevan Sharma ram Jeevan Sharma ram Jeevan Sharma
Vishal S Aggarwal tandonVishal S tandon Vishal S
Abhay Desai yadav Abhay Desai yadav Abhay Desai
Julie J Williams Julie J Williams Julie J
Waqar A Younis Waqar A Younis Waqar A
Trilok Sai Mahajan Trilok Sai Mahajan Trilok Sai
Sourabh Kumar Sourabh Kumar Sourabh Kumar
Kuldeep Kumar Anand b Kuldeep Kumar b Kuldeep Kumar
Manoj Desai Manoj Desai Manoj Desai
Rohit Verma Rohit Verma Rohit Verma
Sachin Rana Sachin Rana Sachin Rana
Kiran Bala Mahajan Kiran Bala Mahajan Kiran Bala

1) Split the name using SUBSTITUTE, REPT, LEFT,RIGHT,TRIM


2) Split the name using one single formula.

alt t u f for ealuation of function


Name

Last Name
len
Alex 18
20
Mukherjee 23
17
Aggarwal 24
17
Williams 16
Younis 14
Mahajan 18
13
Anand 21
11
11
11
Mahajan 18

FALSE

tion of function
find

13
#VALUE!
20
14
18
12
#VALUE!
#VALUE!
#VALUE!
#VALUE!
20
#VALUE!
#VALUE!
#VALUE!
#VALUE!
for third
substitute name
David P Alex Mohan P
Asheesh Mattoo kumar #VALUE!
Kiran Das Mukherjee das das
Jeevan Sharma ram ram
Vishal S Aggarwal tandon tandon
Abhay Desai yadav yadav
Julie J Williams #VALUE!
Waqar A Younis #VALUE!
Trilok Sai Mahajan #VALUE!
Sourabh Kumar #VALUE!
Kuldeep Kumar Anand b b
Manoj Desai #VALUE!
Rohit Verma #VALUE!
Sachin Rana #VALUE!
Kiran Bala Mahajan #VALUE!
how to extract middle name

You might also like