Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to split text by space/comma/delimiter in Excel?

If you have a column list of data and you want to split them into several columns by a specific delimiter just like the below screenshots shown, how can you split them in Excel? Maybe some of users think of the Text to Column function only, but now I will introduce not only Text to Columns function, but also a VBA code for you.

Split text strings into multiple columns by space/comma/delimiter with Text to Columns

Split text strings into multiple rows/columns by space/comma/delimiter

Easily split text and numbers from one cell/column into different columns/rows

Easily combine multiple worksheets/workbooks/CSV files into one worksheet/workbook

It may be tedious to combine dozens of sheets from different workbooks into one sheet. But with Kutools for Excel’s Combine (worksheets and workbooks) utility, you can get it done with just several clicks! Full Feature Free Trial 30-day!
ad combine sheets books 1

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words...
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum...
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns...
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Create Mailing List and Send Emails by Cell's Value...
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

arrow blue right bubble Split text strings into multiple columns by space/comma/delimiter by Text to Columns feature

Text to Columns feature is very useful to split a list to multiple columns in Excel. This method is talking about how to split data by specified delimiter with Text to Column feature in Excel. Please do as follows:

1. Select the column list you want to split by delimiter, and click Data > Text to Columns. See screenshot:

2. Then a Convert Text to columns Wizard dialog pops out, and check Delimited option, and click Next button. See screenshot:

3. In the opening Convert to Text to Columns Wizard - Step 2 of 3 dialog box, please check the delimiter you need to split the data by.

Note: If you need to split your text string by a special delimiter, please check the Other option, and then type the delimiter into following box.

4. Click Finish. Now you can see the column list in selection has been split into multiple columns by the specified delimiter.


arrow blue right bubble Split text strings into multiple rows/columns by space/comma/delimiter with Kutools for Excel

Above method can only split text strings into multiple columns. This method will introduce Kutools for Excel's Split Cells utility to split text strings into multiple rows or columns by specified delimiter in Excel easily.


1. Select the range you will split text strings (in our case we select the range A1:A9 ), and click Kutools > Text > Split Cells.

doc split text 01

2. In the opening Split Cells dialog box, please check the Split to Rows option or Split to Columns options as you need in the Type section, next specify a delimiter in the Specify a separator section, and click the Ok button. See screenshot above:

Now another Split Cells dialog box pops out, please select the first cell of destination range and click the OK button.

doc split text to rows columns 10

Free Download Kutools for Excel Now


arrow blue right bubbleDemo: Split text strings into multiple rows/columns by space/comma/delimiter

In this Video, Kutools and Kutools Plus tabs are added by Kutools for Excel. If need it, please click for 30-day free trial without limitation!

Easily split text and numbers from one cell/column into different columns/rows

Kutools for Excel enhances its Split Cells utility and supports to batch separate all text characters and numbers of one cell/column into two columns/rows. Full Feature Free Trial 30-day!

ad split cell separate text numbers


arrow blue right bubbleRelative Articles:


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
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.
  • To post as a guest, your comment is unpublished.
    Bob · 1 months ago
    This just shows how horrible excel is...how about a SPLIT function?? Duh...
  • To post as a guest, your comment is unpublished.
    Eric · 8 months ago
    Ok, so here is a problem I am stuck on that I cannot seem to resolve. I am looking to break up a long string of text with the following requirements:
    1) Text can only be broken up at a space (not in the middle of a word)
    2) The total length for each parsed cell must be as close to 40 characters as it can get using the space rule above.

    For example, this comes in a single cell: "It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief". In this example, I would expect the formula to break up this text into 4 cells:

    It was the best of times, it was the
    worst of times, it was the age of
    wisdom, it was the age of foolishness,
    it was the epoch of belief

    I keep getting wrapped around the axle trying to use a combo of left,mid,right and search/find formulas, but not only is it very inelegant, but as soon as I run into a non-unique word, my find formula breaks down.
  • To post as a guest, your comment is unpublished.
    Guest · 8 months ago
    Thanks. It is really helpful.
  • To post as a guest, your comment is unpublished.
    Cosmas Kirui Tugatt · 10 months ago
    Hello, How do i separete a long sentence into columns like


    12534_MK_EC0102-Kanyuambora_OUTA 172.22.118.13 255.255.255.192 172.22.118.1. I need the process of separating to columns of: Site ID 12534_MK_EC0102; Site Name Kanyuambora_OUTA;IP 172.22.118; Mask 255.255.255; Gateway 172.22.118.1. Kindly assist.
    • To post as a guest, your comment is unpublished.
      kellytte · 8 months ago
      Hi Cosmas,
      How do you want to split the lone sentences by? In your example, you can split the sentence by the delimiter “_” or “;” or “.”
      Just try them as you need!
    • To post as a guest, your comment is unpublished.
      TxCentrist · 8 months ago
      You can use the FIND and LEN commands to separate fields, for example :
      A1: 12534_MK_EC0102-Kanyuambora_OUTA 172.22.118.13 255.255.255.192 172.22.118.1.
      B1: =FIND(" ",$A$1) B2: =FIND(" ",$A$1,B1+1) B3: "Fill Down From B2"
      C1: =LEFT($A$1,B1) C2: =RIGHT(LEFT($A$1,B2),B2-B1) C3: "Fill Down From C2"
    • To post as a guest, your comment is unpublished.
      kellytte · 9 months ago
      Hi Cosmas,
      You can apply the Text to Columns feature on the Data tab in Excel Ribbon. In the Wizard, please set both delimiters of space and custom delimiters -, and it will split your long cell content to desired columns.
  • To post as a guest, your comment is unpublished.
    Suraj Gupta · 1 years ago
    Thank you so much for posting this, it's really very helpful at times.
  • To post as a guest, your comment is unpublished.
    Huy Nguyen · 1 years ago
    "172.22.118.13
    255.255.255.192
    172.22.118.1"

    how do i split that cell information into 3 columns?
    • To post as a guest, your comment is unpublished.
      kellytte · 9 months ago
      Hi Huy,
      How do you want to split the cells by? By length? By delimiter of dot? Or others?
  • To post as a guest, your comment is unpublished.
    Someone in the offic · 1 years ago
    THAK YOU!!!
  • To post as a guest, your comment is unpublished.
    An African Dictator · 2 years ago
    Thanks god, and by that I mean you for this. Saved me a lot work. Thank you again.
  • To post as a guest, your comment is unpublished.
    Some Guy · 2 years ago
    This saved me hours of retyping a list of addresses. THANK YOU!!!!
  • To post as a guest, your comment is unpublished.
    Sriram Balaji · 2 years ago
    i need to sperate a word from sentence in excel sheet which is present in the single cell.

    eg : abcds ----- sri
  • To post as a guest, your comment is unpublished.
    Samuel · 2 years ago
    Kudos to you guys you make my day
  • To post as a guest, your comment is unpublished.
    Home Address · 2 years ago
    Please enter text of your comment!
  • To post as a guest, your comment is unpublished.
    Reena · 3 years ago
    Thanks for this information. It's very useful and easy to understand.
  • To post as a guest, your comment is unpublished.
    NoName · 4 years ago
    :D It's cool!

    P.S. Why do I need to add more words here... :-?
  • To post as a guest, your comment is unpublished.
    Hina · 4 years ago
    hina excel ghskj t'amfngeh 'afkndjgb s'difhjsdfnsalodfhakaf