Sort Table Macro with Changing Row Amount

munnaz

New Member
Joined
Feb 1, 2017
Messages
1
Hey Guys,

I'm looking at creating a Macro or using VBA to sort a large table whose row count can vary drastically. The current table I am looking at has 150,000 lines of data. There are 10 stages within the data table and each row has a stage number 1-10 in the first column. The number of rows for each stage can also vary. I would like some way to split this main table into 10 separate worksheets in the same workbook(based on the value of the first column 'stage number')? Is there any simple way to do this?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi,


Some quick questions:


1) Is this really a Table as opposed to a formatted range of cells?
2) If it is a Table, what is the name of the Table?
3) What Column contains the "Stage Number"
4) What version of Excel are you using?


igold
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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