Skip to main content

Split a cell by first space in Excel

Author: Siluvia Last Modified: 2020-02-28

In this tutorial, you will learn two formulas to split a cell into two parts by the first space delimiter.


How to split a cell by the first space in Excel?

In this case, you need to apply two formulas in order to get the text before the first space and another part of text after the first space.

Generic formulas

Generic formula for getting all before the first space

=LEFT(A1,FIND(" ",A1)-1)

Generic formula for getting all after the first space

=RIGHT(A1,LEN(A1)-FIND(" ",A1))

Arguments

A1: Represents the cell containing the text string you will split by the first space.

How to use the formulas?

Supposing column B has a text string list which you want to split each cell by the first space. Please do as follows.

Firstly, get all texts before the first space

1. Select a blank cell such as D3 to output the result.

2. Enter the below formula into it and press the Enter key. And then drag its Fill Handle all the way down to apply the formula to other cells.

=LEFT(B3,FIND(" ",B3)-1)

Then, get all texts after the first space

1. Select a blank cell to output the texts after the first space.

2. Enter the below formula into it and press the Enter key. And then drag its Fill Handle down to apply the formula to other cells.

=RIGHT(B3,LEN(B3)-FIND(" ",B3))

Note: In the above formulas, B3 is the cell you want to split by the first space. Please change it as you need.

How these formulas work?

=LEFT(B3,FIND(" ",B3)-1)

1. FIND(" ",B3): The FIND function locates the position of the first space in text string "200101 KTE 100PC", and returns the result as 7;

2. LEFT(B3,7-1): And the LEFT function extracts 6 characters from the left side of text string "200101 KTE 100PC". And the result is 200101.

=RIGHT(B3,LEN(B3)-FIND(" ",B3))

1. LEN(B3): The LEN function returns the number of characters in text string "200101 KTE 100PC". Here the result is 16;

2. FIND(" ",B3): The FIND function locates the position of the first space in text string "200101 KTE 100PC", and returns the result as 7;

3. RIGHT(B3,16-7): And then the RIGHT function extracts 9 characters (16-7=9) from the right side of text string "200101. So th KTE 100PC"e result is "KTE 100PC".


Related functions

Excel LEFT function
The Excel LEFT function extracts the given number of characters from the left side of a supplied string.

Excel FIND function
The Excel FIND function is used to find a string within another string, and returns the starting position of the string inside another one.

Excel RIGHT function
The Excel RIGHT function extracts a specific number of characters from the right side of the text string.

Excel LEN function
The Excel LEN function returns the number of characters in a text string.


Related formulas

Split dimensions into two parts in Excel
This article explains how to use formula to split dimensions in a cell into two parts without units (individual length and width).

Separate numbers from units of measurement
This article explains how to use formula to separate numbers from unites of measurement.

Split text and numbers in a cell in Excel
If you want to split text and numbers in a cell into different column cells with formulas, this tutorial will do you a favor.

Split Text With Delimiter In A Cell In Excel
In this article, we are providing a step-by-step guide to help you split text in a cell with specific delimiter in Excel.

Split Text And Numbers In A Cell In Excel
Supposing a cell data is mixed with text and numbers, how can you split them into separate column cells? This tutorial is going to show you the detailed steps to get it down with formulas.


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations