Lecture 2
Lecture 2
Lecture 2
=TRIM(Text)
Example
Student 1
CONCATENATE
=CONCATENATE()
Students Maths Science
Student 1 Student 1 has scored 95 in Maths
Student 2 Student 2 has scored 65 in Maths
Student 3 Student 3 has scored 85 in Maths
Student 4 Student 4 has scored 99 in Maths
Student 5 Student 5 has scored 45 in Maths
English
81
75
90
85
55
=&" "&
English
Student 1 has scored 81 in English
Student 2 has scored 75 in English
Student 3 has scored 90 in English
Student 4 has scored 85 in English
Student 5 has scored 55 in English
SUBSTITUTE
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
=UPPER(Text)
or
=LOWER(Text)
Example
=LEN(Text)
Example
Students Length
Student 1 9
Student two 11
Student three 13
Student four 12
Student five 12
LEFT, RIGHT & MID
=LEFT(Text, [num_chars])
=RIGHT(Text, [num_chars])
=MID(Text, [starting_position], [num_chars])
Example