• 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

  • sample.xlsb
    19.8 KB · Views: 5
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

  • sample.xlsb
    69.1 KB · Views: 3
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

  • sample.xlsb
    24.9 KB · Views: 0
Back
Top