Skip to content

Text functions, LEFT, RIGHT, MID, LEN, FIND, SUBSTITUTE, TRIM, Text To Columns, SEARCH, UPPER, LOWER, PROPER, EXACT, TEXT, CONCATENATE, TEXTJOIN, TEXTBEFORE, TEXTAFTER

Notifications You must be signed in to change notification settings

Kuba27x/Excel-8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

🧬 Excel-8

Status Excel

✨ Project Description

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.


📒 Table of Contents


➕ Join Strings

To join strings, use the & operator.

Join

Alternatively, use the CONCATENATE function.


🔡 LEFT

Extract the leftmost characters from a string:

Left


🔢 RIGHT

Extract the rightmost characters from a string:

Right


🎯 MID

Extract a substring starting from the middle of a string:

Mid


🔠 LEN

Get the length of a string:

Len


🔍 FIND & SEARCH

Find the position of a substring:

  • FIND (case-sensitive)
  • SEARCH (case-insensitive, supports wildcards)

Find


🔁 SUBSTITUTE & REPLACE

Replace existing text in a string:

  • SUBSTITUTE replaces occurrences of text.
  • REPLACE is useful when you know the position.

Substitute


🧹 TRIM & Counting Words

  • TRIM returns a string with only regular spaces.

Trim

  • To get the length of the string without spaces:

LenS

  • To count the number of words:

Words

ℹ️ Tip: Count the spaces in a cell and add 1 to get the total number of words.


✂️ Text to Columns

  1. Select the range with full names.
  2. On the Data tab, in the Data Tools group, click Text to Columns.
  3. Choose Delimited and click Next.

TextToColumns

  1. Clear all checkboxes except for Comma and Space.

Options

  1. Click Finish.

Result:

Result


↕️ Change Case

  • Use UPPER to change text to uppercase:

Upper

  • Use LOWER for lowercase.
  • Use PROPER for capitalizing the first letter of each word:

Proper


🆚 Compare Text

  • Use EXACT for case-sensitive comparison:

Exact

  • Use =F1=G1 for case-insensitive comparison:

=


🧾 TEXT Function

Format numbers when joining text and numbers:

Text

#,## adds commas to large numbers.


🔗 TEXTJOIN, TEXTBEFORE, TEXTAFTER

  • TEXTJOIN (Excel 2016+) joins a range of strings using a delimiter, can ignore empty cells.

TextJoin

  • In Excel 365, use TEXTBEFORE or TEXTAFTER to extract substrings:

TextBefore TextAfter


📷 Screenshots

Find all screenshots in the /Screenshots folder.


ℹ️ Requirements

  • Microsoft Excel (recommended: 2016/2021/365 for modern functions)
  • Windows OS for full functionality

👨‍💻 Author

Project and documentation by Kuba27x
Repository: Kuba27x/Excel-8


About

Text functions, LEFT, RIGHT, MID, LEN, FIND, SUBSTITUTE, TRIM, Text To Columns, SEARCH, UPPER, LOWER, PROPER, EXACT, TEXT, CONCATENATE, TEXTJOIN, TEXTBEFORE, TEXTAFTER

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published