Skip to main content

Split comma separated values into rows/columns in Excel - easy guide

Author: Siluvia Last Modified: 2025-04-10

In certain situations, you might find yourself needing to split comma-separated values from selected cells into individual rows or columns. This guide will explore different effective methods to help you achieve this, providing step-by-step instructions to ensure you can efficiently manage and reorganize your data according to your needs.


Split comma separated values into different columns

To split comma separated values in selected cells into different columns, try the methods in this section.

Use the Text to Column wizard to split comma separated values into columns

To split comma separated values in selected cells into columns, the commonly used method is the Text to Column wizard in Excel. Here, I will show you step-by-step how to use this wizard to achieve the desired result.

1. Select the range of cells you want to split values into columns, and then click "Data" > "Text to Columns". See screenshot:

A screenshot of selecting Text to Columns under the Data tab in Excel

2. In the first "Convert Text to Columns Wizard" dialog box, select the "Delimited" option, and then click the "Next" button.

A screenshot of the Convert Text to Columns Wizard dialog box with the Delimited option selected

3. In the second "Convert Text to Columns Wizard" dialog box, only check the "Comma" box in the "Delimiters" section, and click the "Next" button.

A screenshot of the second Convert Text to Columns Wizard dialog box with the Comma delimiter selected

4. In the last "Convert Text to Columns Wizard" dialog box, select a cell for locating the splitting values in the "Destination" box, and finally click the "Finish" button.

A screenshot of the final Convert Text to Columns Wizard dialog box to select the Destination cell

Now all the values in selected cells which were separated by commas are split to different columns as bellow screenshot shown.

A screenshot showing comma-separated values split into multiple columns in Excel

Easily split comma separated values into multiple columns with Kutools

As you can see, the "Text to Columns" wizard requires multiple steps to complete the task. If you need a simpler method, the "Split Cells" feature of "Kutools for Excel" is highly recommended. With this feature, you can conveniently split cells into multiple columns or rows based on a specific delimiter, by completing the settings in a single dialog box.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, select "Kutools" > "Merge & Split" > "Split Cells" to open the "Split Cells" dialog box.

  1. Select the range of cells containing the text you wish to split.
  2. Select the "Split to Columns" option.
  3. Select "Comma" (or any delimiter you need) and click "OK".
    A screenshot of the Kutools Split Cells dialog box with Split to Columns selected and Comma as the delimiter
  4. Select a destination cell and click "OK" to get all split data.
    A GIF showing how to split cells into multiple columns using Kutools for Excel.
Note: To use this feature, you should have Kutools for Excel installed on your computer. Go to download Kutools for Excel now.

Split comma separated values into different rows

This section demonstrates two methods to help you split comma separated values into different rows in Excel. Please do as follows.

Split comma separated values into multiple rows with VBA

For splitting comma separated values into rows, you can apply the following VBA code.

1. Press the "Alt" + "F11" keys simultaneously to open the "Microsoft Visual Basic for Applications" window.

2. In the "Microsoft Visual Basic for Applications" window, click "Insert" > "Module". Then copy and paste the below VBA code into the Module window.

VBA code: Split comma separated values into rows

Sub SplitAll()
	Dim xRg As Range
	Dim xRg1 As Range
	Dim xCell As Range
	Dim I As Long
	Dim xAddress As String
	Dim xUpdate As Boolean
	Dim xRet As Variant
	On Error Resume Next
	xAddress = Application.ActiveWindow.RangeSelection.Address
	Set xRg  = Application.InputBox("Please select a range", "Kutools for Excel", xAddress, , , , , 8)
	Set xRg  = Application.Intersect(xRg, xRg.Worksheet.UsedRange)
	If xRg Is Nothing Then Exit Sub
		If xRg.Columns.Count > 1 Then
			MsgBox "You can't select multiple columns", , "Kutools for Excel"
			Exit Sub
			End If
			Set xRg1 = Application.InputBox("Split to (single cell):", "Kutools for Excel", , , , , , 8)
			Set xRg1 = xRg1.Range("A1")
			If xRg1 Is Nothing Then Exit Sub
				xUpdate = Application.ScreenUpdating
				Application.ScreenUpdating = False
				For Each xCell In xRg
					xRet = Split(xCell.Value, ",")
					xRg1.Worksheet.Range(xRg1.Offset(I, 0), xRg1.Offset(I + UBound(xRet, 1), 0)) = Application.WorksheetFunction.Transpose(xRet)
					I = I + UBound(xRet, 1) + 1
				Next
				Application.ScreenUpdating = xUpdate
			End Sub

3. Press the "F5" key to run the code. In the popping up "Kutools for Excel" dialog box, select the cells you want to split, and then click the "OK" button.

A screenshot of selecting the range of cells for splitting using a VBA code in Excel

4. In the second popping up "Kutools for Excel" dialog box, select a cell for locating the splitting values, then click "OK".

A screenshot of selecting the destination cell for the split data after running VBA code

Then you can see the comma separated values in selected cells are split into rows as bellow screenshot shown.

A screenshot showing comma-separated values split into multiple rows using VBA code

Easily split comma separated values into rows with Kutools for Excel

VBA code is too hard for Excel newbi to modify for meeting their needs. Here the "Split Cells" feature of "Kutools for Excel" can also help to easily split comma separated values into multiple rows in Excel.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, select "Kutools" > "Merge & Split" > "Split Cells" to open the "Split Cells" dialog box.

  1. Select the range of cells containing the comma separated values you wish to split.
  2. Select the "Split to Rows" option.
  3. Select "Comma" (or any delimiter you need) and click "OK".
    A screenshot of the Kutools Split Cells dialog box with Split to Rows selected and Comma as the delimiter
  4. Select a destination cell and click "OK" to get all split data.
    A GIF showing how to split cells into multiple rows using Kutools for Excel
Note: To use this feature, you should have Kutools for Excel installed on your computer. Go to download Kutools for Excel now.

Demo: Quickly split comma separated values into rows or columns with Kutools for Excel

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Best Office Productivity Tools

🤖 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 Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create 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 Ranges & Columns ...
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 Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


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!