What is Computer

Module: M4-R5: Internet of Things (IoT)

Chapter: Ch1 Computer Intro

Introduction

Text functions in LibreOffice Calc and Excel help manipulate and analyze textual data — extracting characters, joining text, converting case, and more. These functions are essential for cleaning and preparing data for reporting and automation.

1️⃣ LEFT Function

Purpose: Extracts a specified number of characters from the left side of a text string.

Formula: =LEFT("LIBREOFFICE";5)

Result: LIBRE

2️⃣ RIGHT Function

Purpose: Extracts a specified number of characters from the right side of a text string.

Formula: =RIGHT("SPREADSHEET";5)

Result: SHEET

3️⃣ MID Function

Purpose: Extracts characters from the middle of a text string, starting at a specified position.

Formula: =MID("CALCULATOR";3;4)

Result: LCUL

4️⃣ LEN Function

Purpose: Returns the total number of characters in a text string.

Formula: =LEN("LibreOffice")

Result: 11

5️⃣ FIND Function

Purpose: Returns the position of a substring within a text string (case-sensitive).

Formula: =FIND("O";"LibreOffice")

Result: 6 (because "O" appears at the 6th position)

6️⃣ CONCATENATE Function

Purpose: Joins two or more text strings into one.

Formula: =CONCATENATE("Hello ","World!")

Result: Hello World!

7️⃣ TEXTJOIN Function

Purpose: Joins multiple text items using a delimiter (available in newer Calc versions).

Formula: =TEXTJOIN(", ";1;A1:A3)

Example Data:

CellsData
A1Apple
A2Banana
A3Cherry

Result: Apple, Banana, Cherry

8️⃣ PROPER Function

Purpose: Converts text to proper case (first letter capitalized).

Formula: =PROPER("welcome to quitexams")

Result: Welcome To Quitexams

9️⃣ LOWER Function

Purpose: Converts all text to lowercase.

Formula: =LOWER("HELLO WORLD")

Result: hello world

🔟 UPPER Function

Purpose: Converts all text to uppercase.

Formula: =UPPER("hello world")

Result: HELLO WORLD

1️⃣1️⃣ REPT Function

Purpose: Repeats text a specified number of times.

Formula: =REPT("*";10)

Result: **********

📊 Summary Table
Function Description Example Result
LEFTExtracts leftmost characters=LEFT("LIBREOFFICE";5)LIBRE
RIGHTExtracts rightmost characters=RIGHT("SPREADSHEET";5)SHEET
MIDExtracts middle characters=MID("CALCULATOR";3;4)LCUL
LENCounts characters=LEN("LibreOffice")11
FINDFinds character position=FIND("O";"LibreOffice")6
CONCATENATEJoins text=CONCATENATE("Hello ","World!")Hello World!
TEXTJOINJoins text with delimiter=TEXTJOIN(", ";1;A1:A3)Apple, Banana, Cherry
PROPERCapitalizes first letter of each word=PROPER("welcome to quitexams")Welcome To Quitexams
LOWERConverts to lowercase=LOWER("HELLO")hello
UPPERConverts to uppercase=UPPER("world")WORLD
REPTRepeats text=REPT("*";10)**********
Conclusion

Text functions simplify data preparation by allowing flexible text transformation, case conversions, and joining operations. These are especially useful in reports, form templates, and data cleaning tasks.

Quick Links