Spreadsheet Text Functions
Spreadsheet Text Functions
Spreadsheet Text Functions
TEXT
FUNCTIONS
LEFT
()
You can use the Left function when you want to extract the leftmost characters from a
string. Syntax =left(text, num_char)
RIGHT
()
Similarly, you can also use the Right function to extract the rightmost characters from
a string. Syntax =right(text, num_char)
MID
()
Mid function in Excel is used to extract the characters from the middle of a string. Syntax
= MID(text, start_char, num_chars)
LEN
()
Len function in Excel helps you to know the length of a string that is number of characters
in a string. Syntax = LEN(text)
Syntax =TRIM(Text )
UPPER
()
Upper function in Excel converts the text into Upper case from lower case.
Syntax
=UPPER(Text )
LOWER
()
Lower function in Excel converts the text into Lower case from upper case.
Syntax
=LOWER(Text )
SUBSTITUTE
()
Substitute function in Excel helps to replace existing text with a new text in a
particular string. Syntax =SUBSTITUTE(text, old_text, new_text, instance
number)
CONCATENATE
()
Concatenate function in Excel helps to join the text of two or more cells.
Syntax
=CONCATENATE(text1, text2….)
JOIN STRINGS
()
To join strings, use the &
operator.
JOIN STRINGS
()
To join strings, use the & operator and within “ ” can include any
text/string.
YEAR
()
Extract the year out from the entire
date
Problem -
1
Use String/Text Functions to create the email address in
E2
Problem -
2
1. Import the file example_problem2.csv in Spreadsheet (download from
Google Classroom)
2. Use string functions to create the columns in blue.