Does Excel 2016 have a column feature similar to that of Word 2016

kroach123

New Member
Joined
May 15, 2017
Messages
2
Column “A” has over 1000 rows of data. Is there a simply way to divide those rows evenly across 4 columns (B, C, D AND E)? Similar to using the column feature in Word.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Sure. You can use VBA to do that.

The code may look something like this:
Code:
Sub SplitData()

    Dim nRows As Long
    Dim fRow As Long
    Dim lRow As Long
    Dim jump As Double
    Dim c As Long
    
'   Count number of rows of data in column A
    nRows = Cells(Rows.Count, "A").End(xlUp).Row
    
'   Divide number of rows by 4
    jump = nRows / 4
    
'   Split evenly among 4 columns
    For c = 1 To 4
        fRow = lRow + 1
        lRow = Int(jump * c)
        Range(Cells(fRow, "A"), Cells(lRow, "A")).Copy Destination:=Cells(1, c + 1)
    Next c
    
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top