Excel-8 is a guide to working with text in Microsoft Excel. Explore practical tips, instructions, and illustrations for manipulating text strings using functions like LEFT, RIGHT, MID, LEN, FIND, SUBSTITUTE, TRIM, Text To Columns, SEARCH, UPPER, LOWER, PROPER, EXACT, TEXT, CONCATENATE, TEXTJOIN, TEXTBEFORE, TEXTAFTER, and more.
📚 Goal: Help you master text operations in Excel—suitable for both beginners and advanced users!
🔗 Note: Many operations on text can be performed using Flash Fill described in Excel-1 repository.
- Join Strings
- LEFT
- RIGHT
- MID
- LEN
- FIND & SEARCH
- SUBSTITUTE & REPLACE
- TRIM & Counting Words
- Text to Columns
- Change Case
- Compare Text
- TEXT Function
- TEXTJOIN, TEXTBEFORE, TEXTAFTER
- Screenshots
- Requirements
- Author
To join strings, use the & operator.
Alternatively, use the CONCATENATE function.
Extract the leftmost characters from a string:
Extract the rightmost characters from a string:
Extract a substring starting from the middle of a string:
Get the length of a string:
Find the position of a substring:
FIND(case-sensitive)SEARCH(case-insensitive, supports wildcards)
Replace existing text in a string:
SUBSTITUTEreplaces occurrences of text.REPLACEis useful when you know the position.
TRIMreturns a string with only regular spaces.
- To get the length of the string without spaces:
- To count the number of words:
ℹ️ Tip: Count the spaces in a cell and add 1 to get the total number of words.
- Select the range with full names.
- On the Data tab, in the Data Tools group, click Text to Columns.
- Choose Delimited and click Next.
- Clear all checkboxes except for Comma and Space.
- Click Finish.
Result:
- Use
UPPERto change text to uppercase:
- Use
LOWERfor lowercase. - Use
PROPERfor capitalizing the first letter of each word:
- Use
EXACTfor case-sensitive comparison:
- Use
=F1=G1for case-insensitive comparison:
Format numbers when joining text and numbers:
#,##adds commas to large numbers.
TEXTJOIN(Excel 2016+) joins a range of strings using a delimiter, can ignore empty cells.
- In Excel 365, use
TEXTBEFOREorTEXTAFTERto extract substrings:
Find all screenshots in the /Screenshots folder.
- Microsoft Excel (recommended: 2016/2021/365 for modern functions)
- Windows OS for full functionality
Project and documentation by Kuba27x
Repository: Kuba27x/Excel-8




















