Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • Count rows that contain specific values in Excel
  • How to get last row in mixed data with blanks in Excel
  • To count total rows in a range in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • INDEX function: Description, Usage, Syntax, Examples and Explanation

Data Analysis Examples

  • Everything about Charts in Excel
  • Number and Text Filters Examples in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • Conditional Formatting Color Scales Examples in Excel

Data Validation Examples

  • Excel Data validation number multiple 100
  • Excel Data validation no punctuation
  • Excel Data validation date in next 30 days
  • Excel Data validation must contain specific text
  • Excel Data validation don’t exceed total

Manipulating text strings using Left, Mid, Right, Len, Substitute in Excel

by

Excel has many functions to offer when it comes to manipulating text strings.

Formula tab → Function Library Group → Text Function

N/B: Every formula in excel must begin with an equal sign, function then in bracket; cell name/cell ranges/cell references.

Syntax:

=fx(cell name/cell ranges/cell references)

Example: = Sum( A1:B4)

Where Sum is the function name and A1:B4 is the cell ranges.

Worked Example:   How to extract word containing specific text in Excel

Visit: Cell References: Relative, Absolute and Mixed Referencing Examples

N/B: Cell name is used most of the time in text functions

Left

To extract the leftmost characters from a string, use the LEFT function.

Right

To extract the rightmost characters from a string, use the RIGHT function.

Mid

To extract a substring, starting in the middle of a string, use the MID function.

Worked Example:   How to extract text between parentheses in Excel

Note: started at position 5 (p) with length 3.

Len

To get the length of a string, use the LEN function.

Note: space (position 8) included!

Find

To find the position of a substring in a string, use the FIND function.

Note: string “am” found at position 3.

Worked Example:   How to get first word in Excel

Substitute

To replace existing text with new text in a string, use the SUBSTITUTE function.

Join Strings

To join strings, use the & operator.

Note: to insert a space, use ” ”

Important! After converting your text string, you will need to copy your result and then paste as values because it’s a formula.

 

Post navigation

Previous Post:

Cell References: Relative, Absolute and Mixed Referencing Examples

Next Post:

Identify Duplicate Values vs Remove Duplicates in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • PHONETIC function: Description, Usage, Syntax, Examples and Explanation
  • How to count line breaks in cell in Excel worksheet
  • How to display conditional message with REPT function in Excel
  • SUBSTITUTE function: Description, Usage, Syntax, Examples and Explanation
  • Find function vs Search function in Excel
  • TIMEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate nth day of year in Excel
  • MINUTE function: Description, Usage, Syntax, Examples and Explanation
  • Convert Excel time to Unix time in Excel
  • How to determine year is a leap year in Excel
  • Calculate original loan amount in Excel
  • VDB function: Description, Usage, Syntax, Examples and Explanation
  • ACCRINTM function: Description, Usage, Syntax, Examples and Explanation
  • TBILLPRICE function: Description, Usage, Syntax, Examples and Explanation
  • IPMT function: Description, Usage, Syntax, Examples and Explanation
Acronyms, Abbreviations, Initialism & What They Stand For
© 2021 xlsoffice. All Rights Reserved | Teal Smiles