Separate 1 column of data into groups of 25 either on new tabs or in new workbook or a column with group number

Panda514

New Member
Joined
Mar 11, 2019
Messages
39
Hello,

I have a column with over 600 ID's in it. I need to separate this column by groups of 25. For example, the first 25 people are group 1, then the next 25 people are group 2. I would like these groups to be in different workbooks, but I would appreciate any help to even just label them in another column called Group Number. I'm not sure what the best way to do this is. Maybe a VBA? I don't know how to write those.
 
Last edited:

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
I figured out how to make a column that labels the groups. B1 is the cell where you want the first number to be and 25 it the amount you want in the first group.

=INT((ROW(B1)-1)/25)+1

If someone figured out a VBA to split the groups of 25 into separate workbooks that would be awesome!
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,624
Latest member
gregg777

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