• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Need Help on Split data to sheet using date

Hi all,

I need to split the data on date wise in seperate sheets. enclosed sample data for referece.
Data should seperate by coloum name "Status Date"


Thanks
Jawahar Prem
 

Attachments

hii @JawaharPrem ,

see if is ok ? you can achive deisre result using pivot table ..
Select data >>Go to insert >> pivot table >>Add header one by one in Row Labels >>Select Status date fiedls >right click on Fiedles >>Add to Report filters>>go to option >>


Regard
Rahul shewale
 

Attachments

hi sir,

iam getting error in bolded and underlined please help on same

Sub copyPasteData()
Dim strSourceSheet As String
Dim strDestinationSheet As String
Dim lastRow As Long
strSourceSheet = "Sheet1"
Sheets(strSourceSheet).Visible = True
Sheets(strSourceSheet).Select
Range("k1").Select
Do While ActiveCell.Value <> ""
strDestinationSheet = ActiveCell.Value
ActiveCell.Offset(0, -2).Resize(1, ActiveCell.CurrentRegion.Columns.Count).Select
Selection.Copy
Sheets(strDestinationSheet).Visible = True
Sheets(strDestinationSheet).Select
lastRow = LastRowInOneColumn("A")Cells(lastRow + 1, 1).Select
Selection.PasteSpecial xlPasteValues
Application.CutCopyMode = False
Sheets(strSourceSheet).Select
ActiveCell.Offset(0, 2).Select
ActiveCell.Offset(1, 0).Select
Loop
End Sub
 

Attachments

Back
Top