Split Data into Excel Sheets based on Category Column

Blessy Clara

Board Regular
Joined
Mar 28, 2010
Messages
201
Hi All

I have a excel sheet of 80,000 + records
There is a column named Category- Which contains a a number code
Each category has multiple records

Requirement - I want to separate the data into different excel files based on these category code
example
CategoryCol BCol CCol DCol ECol FCol AZ
0191

<tbody>
</tbody>
DataDataDataDataDataData
0191DataDataDataDataDataData
0191DataDataDataDataDataData
0191DataDataDataDataData
0191DataDataDataDataDataData
8511

<tbody>
</tbody>
DataDataDataData
8511

<tbody>
</tbody>
DataDataDataDataDataData
8511

<tbody>
</tbody>
8511

<tbody>
</tbody>

<tbody>
</tbody>

So all Records having category 0191 to be in one excel file
Next all records with category 8511 should be in new excel file
like wise data to be separated to different Excel files based on category

First Row is header running from A to AZ Columns
Column 1 contains the category
Thanks in Advance

There are more categories - So manual work is too tedious - Any help would be very useful
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Is there any significance to the Category #'s with the Borders? Strange how 0191 is set out and how 8511 seems to break the pattern. Also, like in 8511 0 Can it have Blank Data in Columns B thru AZ our whatever it is? Just wondering...
 
Last edited:
Upvote 0
Is there any significance to the Category #'s with the Borders? - Nope these are just numbers - No borders - I think Borders must have come when i copied the number from excel
8511 Can it have Blank Data in Columns B thru AZ our whatever it is? Just wondering... - It does have few blank columns/cells but not complete blank rows

Hope I have answered - Thanks for your response
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,343
Messages
6,124,394
Members
449,155
Latest member
ravioli44

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