Splitting worksheet data into multiple worksheets/workbooks by ROW criteria

VBAbeginner2015

New Member
Joined
Aug 20, 2015
Messages
6
Hi

I'm trying to spilt data in a worksheet into multiple worksheets or multiple workbooks using rows instead of columns. I haven't been able to find any previous threads that do not relate to columns.

Basically I have the following all in one worksheet (called 'Master'):

Blank row
Header
Blank row
Title (which is blue text)
Blank row
Text
text
text
Blank row
Blank row
Title (which is blue text)
Blank row
Text
Blank row

etc...


I'd like to be able to spilt the worksheet by the title (in blue text) so that everything from the blue title to the next blue title is in a new worksheet. Is there any way I can do this please? The text rows can vary in length so there's never a set amount of rows it can be spilt by.

Thanks all
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
VBAbeginner2015,

Welcome to the MrExcel forum.

1. What version of Excel, and, Windows are you using?

2. Are you using a PC or a Mac?


We can not tell where your raw data is located, sheet name, cells, cell formatting, rows, columns, and, we can not tell where the results should be, sheet name, cells, cell formatting, rows, columns.


To start off, and, so that we can get it right on the first try:

Can you post a screenshot of the actual raw data worksheet?

And, can you post a screenshot of the worksheet results (manually formatted by you) that you are looking for?

To post a small screen shot (NOT a graphic, or, picture, or, PNG file, or, flat text) try one of the following:

MrExcel HTML Maker
If you do not know how to install and how to use HTML Mr.Excel Maker
https://www.youtube.com/watch?v=JycvgGppxt0&feature=youtu.be

Excel Jeanie
Download

Borders-Copy-Paste
http://www.mrexcel.com/forum/about-board/444901-how-create-table-like-aladin.html#post2198045

To test the above:
Test Here


The following is a free site:

You can upload your workbook to (the BLUE link-->) Box Net ,
sensitive data changed
mark the workbook for sharing
and provide us with a link to your workbook.
 
Upvote 0
Hi

Thanks for your comments. Sorry new to this!

I'm using Excel 2013 with Windows 7 on a PC.

An example of my data is:

Excel 2012
ABC
1
2Overall Tables
3
4Plant 1
5
6VehicleInput 1Input 2
7345
8564
9654
10343
11978
12243
13
14
15Plant 2
16
17VehicleInput 1Input 2
18120
19431
20545
21
22Plant 3
23
24VehicleInput 1Input 2
25330
26
27Plant 4
28
29VehicleInput 1Input 2
30347
31809
32879
33
Sheet1


And I want each Plant section in a new tab i.e:

Excel 2012
ABC
1Plant 1
2
3VehicleInput 1Input 2
4345
5564
6654
7343
8978
9243
Sheet2


and:

Excel 2012
ABC
1Plant 2
2
3VehicleInput 1Input 2
4120
5431
6545
Sheet3


Is that more helpful?
 
Upvote 0
VBAbeginner2015,

Nicely done, thanks.

Can we put each Plant # in a new sheet, with the new worksheet name like Plant #?
 
Upvote 0
VBAbeginner2015,

Does worksheet Master actually look like this?


Excel 2007
ABC
1
2Overall Tables
3
4Plant 1
5
6VehicleInput 1Input 2
7345
8564
9654
10343
11978
12243
13
14
15Plant 2
16
17VehicleInput 1Input 2
18120
19431
20545
21
22Plant 3
23
24VehicleInput 1Input 2
25330
26
27Plant 4
28
29VehicleInput 1Input 2
30347
31809
32879
33
Sheet1


Or, like this?


Excel 2007
ABC
1Plant 1
2
3VehicleInput 1Input 2
4345
5564
6654
7343
8978
9243
10
11
12Plant 2
13
14VehicleInput 1Input 2
15120
16431
17545
18
19Plant 3
20
21VehicleInput 1Input 2
22330
23
24Plant 4
25
26VehicleInput 1Input 2
27347
28809
29879
30
Sheet1
 
Last edited:
Upvote 0
VBAbeginner2015,

Can we have another screenshot of worksheet Master, with:

1. All the Input areas filled in?

2. Can there be more then 2 Input areas for each vehicle?

2a. If so, can we see some examples?
 
Upvote 0
Thanks for your reply. Please see below:


Excel 2012
ABCDEFG
1
2Overall Tables
3
4Plant 1
5
6VehicleInput 1Input 2Input 3Input 4Input 5Input 6
7345TextText
8564TextText
9654TextText
10343TextText
11978TextText
12243TextText
13
Sheet1



The input areas for 3 to 6 won't be filled in on this sheet (they will remain blank). I need to spilt the worksheet to send it out to various areas for them to fill in the blank parts. The information on input 1 and 2 can differ dependant on the area. This information is pulled from a programme into excel like this which upto now I have then been splitting manually. (I can't change the look of how its pulled into excel as it is sent to me like this)
 
Upvote 0

Forum statistics

Threads
1,215,359
Messages
6,124,488
Members
449,165
Latest member
ChipDude83

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