Skip to main content

How to convert one cell to multiple cells/rows in Excel?

Sometimes, it is difficult to view all the data if there are lots of data in a cell in Excel. In this case, converting all the data in this cell to multiple cells or rows may make it much easier and clearer to view long content as shown as below. In Excel, you can get it done through below methods.

Convert one cell to multiple cells/rows with Text to Column and Paste Special in Excel

Convert one cell to multiple cells/rows with VBA

Convert one cell to multiple columns/rows with Kutools for Excel good idea3


arrow blue right bubble Convert one cell to multiple cells/rows with Text to Column and Paste Special in Excel

1. Select the cell you want to convert its data, and click Data > Text to Column, see screenshot:

2. In the pop-up dialog, check Delimited check box, and click Next. See screenshot:

3. Check Comma check box only in the dialog, and click Finish. See screenshot:

4. Then you can see the cell data has been split into multiple columns. And now select these cells and right click to click Copy from the context menu to copy them. See screenshot:

5. Select a blank cell you want and right click to select Transpose(T), then you can see the data has been converted into multiple rows. See screenshot:

If you are using Microsoft Excel 2007, click the Home > Paste > Transpose to paste the split data.

You can see the result as shown:


Quickly Split one cell into columns or rows based on delimiter

In Excel, to split a cell into columns is tedious with the Wizard step by step. But with Kutools for Excel's Split Cells utility, you can: 1,convert one cell into columns or rows based on delimiter; 2,convert string into text and number; 3,convert string based on specific width, with clicks.  Click for full-featured 30 days free trial!
doc split cell
 
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

arrow blue right bubble Convert one cell to multiple cells/rows with VBA

If you think the above method is a little tedious, you can use a VBA to get it done.

1. Hold ALT button and press F11 on the keyboard to open a Microsoft Visual Basic for Application window.

2. Click Insert > Module, and copy the VBA into the module.

VBA: Convert one cell to multiple rows

Sub TransposeRange()
'Updateby20140312
Dim rng As Range
Dim InputRng As Range, OutRng As Range
xTitleId = "KutoolsforExcel"
Set InputRng = Application.Selection.Range("A1")
Set InputRng = Application.InputBox("Range(single cell) :", xTitleId, InputRng.Address, Type:=8)
Set OutRng = Application.InputBox("Out put to (single cell):", xTitleId, Type:=8)
Arr = VBA.Split(InputRng.Range("A1").Value, ",")
OutRng.Resize(UBound(Arr) - LBound(Arr) + 1).Value = Application.Transpose(Arr)
End Sub

3. Click Run to run the VBA code, and a KutoolsforExcel dialog pops up for you to select a single cell you want to convert its data. See screenshot:

4. Click OK, and in another popup dialog select a cell to output the result. See screenshot:

You can see the result:

Tip: In the above VBA code, you can change the separator "," you want to separate the data by. This VBA does not support split cell based on the new line character.


arrow blue right bubble Convert one cell to multiple columns/rows with Kutools for Excel

If you have Kutools for Excel -- a handy tool installed, you can use its Split Cells fuction to quickly split a single cell to multiple columns or rows based on a delimiter.

Kutools for Excel: A handy Excel add-in tool,makes your jobs more easier and efficiency.
  • 300+ powerful and easy-to-used functions,110,000+ Excel users'choice
  • full-featured free trial in 30 days, no credit card required
  • dozens of one-click functions to shrink your working time on solving complex problems
  • includes functions to batch converion,deletion,combining sheets/cells,exproting, ect, free try now.

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

1. Select the cell you want to split to rows, and click Kutools > Merge & Split > Split Cells. See screenshot:
doc kutools split cells 1

2. Then in the Split Cells dialog, check Split to Rows option under Type section, and check Other option under Specify a Separator section, then enter the delimiter you want to split cell based on in the textbox. See screenshot:

doc kutools 2

3. Click Ok, and a dialog pops out to remind you select a cell to output split result.
doc kte 3

4. Click OK. Now you can see a cell has been converted to multiple rows.
doc kutools split cells 4

Tip: If you want to convert a single cell to columns based on specific delimiter, check Split to Columns option in dialog, and enter the delimiter into Other textbox.

arrow blue right bubble Convert one cell into multiple rows or columns


Quickly transpose Cross table to list or vice versa

While you receiving a sheet with cross table which you need to convert to list table, how can you quickly deal with it? With Kutools fro Excel's Transpose Table Dimensions utility, you can convert cross dimensions table to three demensions table or vice versa as quickly as you can.   Click for 30-day full-featured free trial!
doc transpose cross to list
 
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

Relative Articles:

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

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

Description


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!
Comments (37)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
thanks for writing this macro it was very helpful <3
This comment was minimized by the moderator on the site
As of 10/19/21, Office365/Excel version 2109 (Build 14430.20306), the 'Merge & Split > Split Cells' option doesn't show
This comment was minimized by the moderator on the site
Hi, ggibby, have you installed Kutools for Excel in Excel? I have used Excel 2019, click Kutools tab and go to the Range & Cells group, click Merge & Split to expand the drop-down menu, you can find the Split Cells...
This comment was minimized by the moderator on the site
How do i separate in 3 columns, the time, the song name and the movie name

Annadata 02:31:50 Ja Re Ja Re Ud Ja Re Panchhi | Maya 02:36:02 Jangal Mein More Nacha | Madhumati 02:39:08 Aaha Rim Jhim Ke Ye Pyare Pyare | Usne Kaha Tha 02:44:41 Ni Sa Ga Ma Pa Ni Sa Re Sa | Anand Mahal 02:49:35 Roz Akeli Aaye | Mere Apne 02:52:51 Bagh Mein Kali Khili | Chand Aur Suraj 02:56:01 Ankhon Men Masti Sharab Ki | Chhaya 02:59:20 Chhota Sa Ghar Hoga | Naukri 03:02:32 Mere Khwabon Men Mere Khayalon Men | Honey Moon 03:05:51 Kancha Le Kanchi Lai Lajo | Madhumati 03:09:13 Tan Jale Man Jalta Rahe | Madhumati 03:12:31 Ganga Aaye Kahan Se | Kabuliwala
This comment was minimized by the moderator on the site
Hi All,
What If I had a cell that = 0815-0862
Is there a way for me to break that down in separate cells?
0815
0816
0817
0818
.
.
.


Thanks all in advance
This comment was minimized by the moderator on the site
Very helpfull. Thanks a lot.
This comment was minimized by the moderator on the site
i have data this format :--
OPTSTKMARUTI25JUN2020CE5800

I want to below mention format ( divide in five column )

OPTSTK Maruti 25 Jun 2020 CE 5800
This comment was minimized by the moderator on the site
If all your strings in same length, and each part of the string is in the same number of characters, you can use the Text to Columns > Fixed width option. See screenshot
This comment was minimized by the moderator on the site
I am getting error with the VBA.Split funtion when I am entering the <Span style>. I require it as my separator is a newline and I need to mention that. Any help would be great
This comment was minimized by the moderator on the site
Hi, Aj, the VBA code does not suuport to split cell by the new line.
This comment was minimized by the moderator on the site
i have data like this...

one cell this data
p. umesh,125 ramesh,52 sunil,478 mahesh,47 raj,75,487

result (first column name ,, second column number)
p. umesh 125
ramesh 52
sunil 478
mahesh 47
raj 75
raj 487
This comment was minimized by the moderator on the site
Hi, Sunil Graphics, if there is no trailing space after the comma and dot, you can do as these:
1. Select the cell that contains data, click Data > Text to Column, in the popping text to column dialog, check delimited > next > check space > click Finish, now the data has been split into columns based on space, like p.umesh,125 | ranesh,52 | sunil,478 |...
2. Then select these column data, press Ctrl + C to copy them, and select a another cell, right click to select Transpose in the paste options in the context menu. Now the data shows as
p.umesh,125
ranesh,52
sunil,478
3. Select the transpose data, use the Text to Column function again, this time, check delimited > next > comma > finish. Then it done.
This comment was minimized by the moderator on the site
i have data like this...
This comment was minimized by the moderator on the site
i have data like this...
p. umesh,125 ramesh,52 sunil,478 mahesh,47 raj,75,487

result
p. umesh 125
ramesh 52
sunil 478
mahesh 47
raj 75
raj 487

how to solve this
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations