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

Data Analysis

  • How to create running total in an Excel Table
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • How To Create Pareto Chart in Excel
  • How To Insert and Customize Sparklines in Excel
  • Conditional Formatting New Rule with Formulas in Excel

References

  • Get nth match with INDEX / MATCH in Excel
  • Last row number in range
  • How to use Excel OFFSET function
  • How to use Excel FORMULATEXT function
  • Excel Advanced Lookup using Index and Match Functions

Data Validations

  • How To Create Drop-down List in Excel
  • Excel Data validation don’t exceed total
  • Excel Data validation only dates between
  • Excel Data validation unique values only
  • Excel Data validation must contain specific text

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.

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).

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

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

Next Post:

Sales Calculator 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

  • Return blank if in Excel
  • How to use Excel FALSE Function
  • Complete List of Excel Logical Functions, References and Examples
  • How to use Excel XOR Function
  • IF with boolean logic in Excel

Date Time

  • Add workdays to date custom weekends in Excel
  • Add days exclude certain days of week in Excel
  • Calculate retirement date in Excel
  • DAYS function: Description, Usage, Syntax, Examples and Explanation
  • NOW function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • How to randomly assign data to groups in Excel
  • Group arbitrary text values in Excel
  • Running count group by n size in Excel
  • Categorize text with keywords in Excel
  • Group times into unequal buckets in Excel

General

  • How to get random value from list or table in Excel
  • 44 Practical Excel IF function Examples
  • How to calculate project complete percentage in Excel
  • How to calculate profit margin percentage in Excel
  • How to generate random number weighted probability in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning