Curriculum
In Data Analytics, raw data often contains inconsistencies, unnecessary spaces, incorrect capitalization, combined values, and formatting issues. Before meaningful analysis can begin, analysts must clean, standardize, and transform textual data.
Microsoft Excel provides a powerful collection of Text Functions that help users manipulate, extract, combine, clean, and format text efficiently. These functions are essential for data cleaning, customer data management, report preparation, and business analytics.
For example, customer names may contain extra spaces, product codes may need to be separated into components, or email addresses may require standardization. Text Functions allow analysts to automate these tasks and significantly reduce manual effort.
In this lesson, you will learn the most important Excel Text Functions used by Data Analysts and how they are applied in real-world business scenarios.
Text Functions are Excel formulas designed to work with text values.
They help users:
Text Functions are widely used during:
Data Analysts frequently encounter issues such as:
Text Functions help:
Clean text data leads to more accurate reporting and better business insights.
The LEN function calculates the number of characters in a text string.
=LEN(text)
=LEN("Rahul Sharma")
Result:
12
The function counts:
The LEFT function extracts characters from the beginning of a text string.
=LEFT(text, number_of_characters)
=LEFT("RAJ-2026",3)
Result:
RAJ
The RIGHT function extracts characters from the end of a text string.
=RIGHT(text, number_of_characters)
=RIGHT("RAJ-2026",4)
Result:
2026
The MID function extracts characters from the middle of a text string.
=MID(text,start_position,number_of_characters)
=MID("RAJ-2026",5,4)
Result:
2026
The UPPER function converts text to uppercase.
=UPPER(text)
=UPPER("Rahul Sharma")
Result:
RAHUL SHARMA
The LOWER function converts text to lowercase.
=LOWER(text)
=LOWER("RAHUL SHARMA")
Result:
rahul sharma
The PROPER function capitalizes the first letter of each word.
=PROPER(text)
=PROPER("rahul sharma")
Result:
Rahul Sharma
This function improves data presentation significantly.
The TRIM function removes extra spaces from text.
=TRIM(text)
Original Text:
” Rahul Sharma “
Formula:
=TRIM(A1)
Result:
Rahul Sharma
TRIM is one of the most commonly used Data Analytics functions.
The CONCAT function combines multiple text values.
=CONCAT(text1,text2,...)
First Name:
Rahul
Last Name:
Sharma
Formula:
=CONCAT(A2," ",B2)
Result:
Rahul Sharma
TEXTJOIN combines text using a specified delimiter.
=TEXTJOIN(delimiter,ignore_empty,text1,text2...)
=TEXTJOIN("-",TRUE,A1,B1,C1)
Result:
HR-2026-001
The FIND function identifies the position of a character or word.
=FIND(find_text,within_text)
=FIND("@","rahul@gmail.com")
Result:
6
SEARCH works similarly to FIND but is not case-sensitive.
=SEARCH(find_text,within_text)
=SEARCH("sales","Monthly Sales Report")
Result:
9
The REPLACE function substitutes part of a text string.
=REPLACE(old_text,start_position,num_chars,new_text)
=REPLACE("RAJ-2025",5,4,"2026")
Result:
RAJ-2026
SUBSTITUTE replaces specific text within a string.
=SUBSTITUTE(text,old_text,new_text)
=SUBSTITUTE("Jaipur City","City","District")
Result:
Jaipur District
The TEXT function converts values into formatted text.
=TEXT(value,format_text)
=TEXT(TODAY(),"dd-mmm-yyyy")
Result:
07-Jun-2026
The VALUE function converts text into numbers.
=VALUE(text)
=VALUE("25000")
Result:
25000
Professional Data Analysts often combine multiple text functions.
Customer Name Cleanup:
=PROPER(TRIM(A2))
Benefits:
Result:
Professional customer records.
Text Functions are widely used to:
These tasks form a major part of data preparation.
Functions Used:
Benefits:
Improved customer records.
Functions Used:
Benefits:
Employee ID management.
Functions Used:
Benefits:
Report preparation.
Functions Used:
Benefits:
Improved calculations and formatting.
Functions such as MID and LEFT depend on accurate positions.
Unclean text can affect results.
Always use TRIM when necessary.
Remember:
Ensure correct data types before calculations.
Use TRIM and PROPER before analysis.
Verify results on sample records.
Multiple functions often provide better results.
Consistency improves reporting and analysis.
Organizations gain:
Text Functions are among the most valuable tools for Data Analysts working with real-world datasets.
After completing this lesson, you will be able to:
Text Functions are formulas used to manipulate, clean, extract, combine, and format text data.
They help clean and standardize datasets, improving data quality and analytical accuracy.
TRIM removes extra spaces from text strings.
FIND is case-sensitive, while SEARCH is case-insensitive.
PROPER capitalizes the first letter of each word.
Use CONCAT or TEXTJOIN functions.
TRIM is one of the most commonly used functions for cleaning text data.
Yes. Professional analysts frequently combine multiple Text Functions for advanced data preparation.
Want to become an expert in Excel and Data Analytics?
WhatsApp us