You are on page 1of 16

TRIM

The function removes spaces all before and following


the words i.e. leading and trailing spaces - and also
removes extra spaces between words but does not
remove the single space between words.

=TRIM(Text)
Example

String Result Formula


Student 1 Student 1
Student 1 Student 1
Student 1 Student 1

Student 1
CONCATENATE

Students

This function joins several (more than 1) text


string into 1 string

Students

=CONCATENATE(String1, and so on..)


OR
=String1&String2& so on..
Example

Students Maths English


Studen 95 81
Studen 65 75
Studen 85 90
Studen 99 85
Studen 45 55

=CONCATENATE() =&" "&


Students Maths English
StudenStudent 1 has scored 95 in Student 1 has scored 81ajay
StudenStudent 2 has scored 65 in Student 2 has scored 75kumar
StudenStudent 3 has scored 85 in Student 3 has scored 90 in English
StudenStudent 4 has scored 99 in Student 4 has scored 85ajay kumar
StudenStudent 5 has scored 45 in Student 5 has scored 55 in English

varsha choudhary

STUDENT 2 HAS SCORED 65 IN MATHS


SUBSTITUTE

This function is used to replace a part of text in a


string with something else. SUBSTITUTE function
is used to clean data. This function is case-
sensitive.

=SUBSTITUTE(Text, Old_Text, New_Text,


[instance_number])
Example

String Result
Stubent Student
Student 1 scored 38 marks in Science Student 1 scored 95 marks in Science
Student 1 scored 85 marks in Science Student 1 scored 85 marks in English
Formula
=SUBSTITUTE(K7,"b","d")
=SUBSTITUTE(K8,"38","95 ")
=SUBSTITUTE(K9,"Science","English ")
UPPER and LOWER

This function converts the entire text string into


uppercase (lowercase) letters

=UPPER(Text)
or
=LOWER(Text)
Example

Students UPPER lower PROPER


Student 1 STUDENT 1 student 1 Student 2
Student 2 STUDENT 2
Student 3 STUDENT 3
Student 4 STUDENT 4
Student 5 STUDENT 5
LENGTH

This function returns the number of characters


in a string (text or numeric value). It also counts
the spaces and special characters.

=LEN(Text)
Example

Students Length
Student 1 %^ 12
Student two 11
Student three 13
Student four 12
Student five 12
LEFT, RIGHT & MID

This function returns the number of specified


characters from the start/end of the string.
"MID" returns the number of specified
characters from the specified point.

=LEFT(Text, [num_chars])
=RIGHT(Text, [num_chars])
=MID(Text, [starting_position], [num_chars])
Example

QR code Value Year of Man Product ID


2018abcde43 2018 abcde
2018werty44 2018 werty
2018cvbnm43 2018 cvbnm
2017start45 2017 start
2018techa44 2018 techa
2016acade43 2016 acade
Group
43
44
43
45
44
43

You might also like