Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • Understanding Pivot Tables in Excel
  • Conflicting Multiple Conditional Formatting Rules in Excel
  • Reverse List in Excel
  • How To Load Analysis ToolPak in Excel

References

  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • MATCH function: Description, Usage, Syntax, Examples and Explanation
  • Lookup entire row in Excel
  • How to reference named range different sheet in Excel
  • Perform case-sensitive Lookup in Excel

Data Validations

  • Excel Data validation date in next 30 days
  • Prevent invalid data entering in specific cells
  • Excel Data validation don’t exceed total
  • Excel Data validation date in specific year
  • Excel Data validation unique values only

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 count line breaks in cell in Excel worksheet

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:   Get workbook name and path without sheet 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 extract text between parentheses 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:

Find, Select, Replace and Go To Special in Excel

Next Post:

What-If Analysis: Scenarios and Goal Seek 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

Logical Functions

  • How to return blank in place of #DIV/0! error in Excel
  • How to use Excel FALSE Function
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel XOR Function

Date Time

  • EDATE function: Description, Usage, Syntax, Examples and Explanation
  • Dynamic date list in Excel
  • WEEKDAY function: Description, Usage, Syntax, Examples and Explanation
  • DAY function: Description, Usage, Syntax, Examples and Explanation
  • NETWORKDAYS function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • How to randomly assign data to groups in Excel
  • Map inputs to arbitrary values in Excel
  • Group arbitrary text values in Excel
  • Map text to numbers in Excel
  • Running count group by n size in Excel

General

  • How to count total columns in range in Excel
  • How to calculate decrease by percentage in Excel
  • How to Insert Cells, Row and Rows in Excel
  • How to choose page/paper size in Excel before Printing
  • How to calculate percentage of total in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning