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

Data Analysis

  • How to count table columns in Excel
  • How to count table rows in Excel
  • How to do a t-Test in Excel?
  • Managing Conditional Formatting Rules in Excel
  • Remove Duplicates Example in Excel

References

  • How to calculate two-way lookup VLOOKUP in Excel Table
  • How to use Excel MMULT Function
  • Get nth match with INDEX / MATCH in Excel
  • How to use Excel LOOKUP Function
  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation

Data Validations

  • Excel Data validation specific characters only
  • Excel Data validation must contain specific text
  • Excel Data validation number multiple 100
  • Excel Data validation must not contain
  • Excel Data validation only dates between

How to Separate Text Strings in Excel

by

This example teaches you how to separate strings in Excel. Asides from using ‘Convert Text to Columns Wizard’ in data tab, you can as well follow the steps below to Separate Text Strings in Excel .

The problem we are dealing with is that we need to tell Excel where we want to separate the string. In case of Smith, Mike the comma is at position 6 while in case of Williams, Janet the comma is at position 9.

Worked Example:   How to create simple Time Sheet in Excel

1. To get the first name, use the formula below.

Explanation: to find the position of the comma, use the FIND function (position 6). To get the length of a string, use the LEN function (11 characters). =RIGHT(A2,LEN(A2)-FIND(“,”,A2)-1) reduces to =RIGHT(A2,11-6-1). =RIGHT(A2,4) extracts the 4 rightmost characters and gives the desired result (Mike).

Worked Example:   Excel Two-Way Lookup Example

2. To get the last name, use the following formula.

Worked Example:   Highlight cells that begin with in Excel

Explanation: to find the position of the comma, use the FIND function (position 6). =LEFT(A2,FIND(“,”, A2)-1) reduces to =LEFT(A2,6-1). =LEFT(A2,5) extracts the 5 leftmost characters and gives the desired result (Smith).

3. Select the range B2:C2 and drag it down.

Post navigation

Previous Post:

MDETERM function: Description, Usage, Syntax, Examples and Explanation

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

  • Return blank if in Excel
  • How to use Excel TRUE Function
  • IF, AND, OR and NOT Functions Examples in Excel
  • Complete List of Excel Logical Functions, References and Examples
  • Extract multiple matches into separate rows in Excel

Date Time

  • Get project end date in Excel
  • Convert Excel time to decimal seconds
  • Convert date to Julian format in Excel
  • How to calculate next anniversary date or birthday in Excel
  • How to calculate workdays per month in Excel

Grouping

  • Map inputs to arbitrary values in Excel
  • Map text to numbers in Excel
  • Calculate conditional mode with criteria in Excel
  • Group numbers at uneven intervals in Excel
  • Running count group by n size in Excel

General

  • Automatically fill series of cells in Excel using AutoFill
  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
  • Find, Select, Replace and Go To Special in Excel
  • 44 Practical Excel IF function Examples
  • Subtotal invoices by age in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning