Split a cell by first space in Excel

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

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

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, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.