Split Rows to New Worksheets when every times the cell = Date

ninoso

New Member
Joined
Apr 27, 2018
Messages
1
I have a data in one worksheet like this, is it possible to search with the title to split the rows to new worksheets?
[TABLE="width: 192"]
<tbody>[TR]
[TD="class: xl64, width: 64"]Date[/TD]
[TD="class: xl65, width: 64"]Name[/TD]
[TD="class: xl65, width: 64"]Value[/TD]
[/TR]
[TR]
[TD="class: xl64, align: right"]1/4/2018[/TD]
[TD="class: xl65"]N001[/TD]
[TD="class: xl65, align: right"]20[/TD]
[/TR]
[TR]
[TD="class: xl64, align: right"]2/4/2018[/TD]
[TD="class: xl65"]N002[/TD]
[TD="class: xl65, align: right"]10[/TD]
[/TR]
[TR]
[TD="class: xl64"] [/TD]
[TD="class: xl65"]N123[/TD]
[TD="class: xl65, align: right"]44[/TD]
[/TR]
[TR]
[TD="class: xl64, align: right"]3/4/2018[/TD]
[TD="class: xl65"]N123[/TD]
[TD="class: xl65, align: right"]20[/TD]
[/TR]
[TR]
[TD="class: xl64, align: right"]5/4/2018[/TD]
[TD="class: xl65"]N563[/TD]
[TD="class: xl65, align: right"]12[/TD]
[/TR]
[TR]
[TD="class: xl64, align: right"]6/4/2018[/TD]
[TD="class: xl65"]N215[/TD]
[TD="class: xl65, align: right"]9[/TD]
[/TR]
[TR]
[TD="class: xl64"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[/TR]
[TR]
[TD="class: xl64"]Date[/TD]
[TD="class: xl65"]Name[/TD]
[TD="class: xl65"]Value[/TD]
[/TR]
[TR]
[TD="class: xl64, align: right"]1/4/2018[/TD]
[TD="class: xl65"]N001[/TD]
[TD="class: xl65, align: right"]20[/TD]
[/TR]
[TR]
[TD="class: xl64"] [/TD]
[TD="class: xl65"]N002[/TD]
[TD="class: xl65, align: right"]10[/TD]
[/TR]
[TR]
[TD="class: xl64, align: right"]3/4/2018[/TD]
[TD="class: xl65"]N123[/TD]
[TD="class: xl65, align: right"]20[/TD]
[/TR]
[TR]
[TD="class: xl64"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[/TR]
[TR]
[TD="class: xl64"]Date[/TD]
[TD="class: xl65"]Name[/TD]
[TD="class: xl65"]Value[/TD]
[/TR]
[TR]
[TD="class: xl64, align: right"]3/4/2018[/TD]
[TD="class: xl65"]N123[/TD]
[TD="class: xl65, align: right"]20[/TD]
[/TR]
[TR]
[TD="class: xl64"] [/TD]
[TD="class: xl65"]N009[/TD]
[TD="class: xl65, align: right"]11[/TD]
[/TR]
[TR]
[TD="class: xl64, align: right"]5/4/2018[/TD]
[TD="class: xl65"]N563[/TD]
[TD="class: xl65, align: right"]12[/TD]
[/TR]
[TR]
[TD="class: xl64, align: right"]6/4/2018[/TD]
[TD="class: xl65"]N215[/TD]
[TD="class: xl65, align: right"]9[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi & welcome to MrExcel.
How about
Code:
Sub SplitonHeader()
   Dim Rng As Range
Application.ScreenUpdating = False
   For Each Rng In Range("B:B").SpecialCells(xlConstants).Areas
      Sheets.Add , Sheets(Sheets.Count)
      Rng.CurrentRegion.Copy Range("A1")
   Next Rng
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,981
Messages
6,175,768
Members
452,668
Latest member
mrider123

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