Filter by Date and Copy to New Worksheet
Filter by Date and Copy to New Worksheet
(OP)
Hi
Needing some help to filter by date and copy to new worksheet per month.
- Add new worksheet for each month if data exist
- If worksheet exist, delete and add new worksheet before copying data
- If no data for the month, it will just move on to the next month
Column B = Dates (Have defaulted the dates to end of each respective month)
Thanks,
arv
Needing some help to filter by date and copy to new worksheet per month.
- Add new worksheet for each month if data exist
- If worksheet exist, delete and add new worksheet before copying data
- If no data for the month, it will just move on to the next month
Column B = Dates (Have defaulted the dates to end of each respective month)
Thanks,
arv
RE: Filter by Date and Copy to New Worksheet
What's your purpose for putting data into different sheets?
This actually makes it more difficult to analyze and report on your data.
Your data is actually much more useful in a single table.
If you sent me a workbook with like data in sheets by day or week or month or year or any other means of chopping up data like state or region or account or assembly, the very first thing I'd do is put all the data into one table on one sheet. The time that would take would pay me back ten thousand percent in the efforts to analyze and report on the data.
Skip,
Just traded in my OLD subtlety...
for a NUance!
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein
RE: Filter by Date and Copy to New Worksheet
Thanks for the prompt response. Glad to have your help yet again.
Under normal circumstances, yes, i would consolidate into one worksheet to analyse.
The purpose to segregate them into multiple worksheets per month is so that I can import them by month into the system.
System only allows data to be imported by month.
Thanks,
arv
RE: Filter by Date and Copy to New Worksheet
Sorts the table by date
Filter by year & month
Then post back with your recorded code if you need help making a loop that starts with a given year & month and ends with another given set.
The loop result can either be added to a new sheet (yuk!) or saved as a text file for the mainframe update.
Skip,
Just traded in my OLD subtlety...
for a NUance!
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein
RE: Filter by Date and Copy to New Worksheet
I have recorded the macro.
Will need help to make the loop for each year & month.
Yes, will need the loop result to add to new sheet based on the year & month.
Thanks,
arv
RE: Filter by Date and Copy to New Worksheet
BTW, I see where I'll need to make a change to accommodate missing months. I'll address that in a couple hours. Right now I'm out of pocket.
Skip,
for a NUance!
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein
RE: Filter by Date and Copy to New Worksheet
RE: Filter by Date and Copy to New Worksheet
Skip,
Just traded in my OLD subtlety...
for a NUance!
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein
RE: Filter by Date and Copy to New Worksheet
RE: Filter by Date and Copy to New Worksheet
Skip,
Just traded in my OLD subtlety...
for a NUance!
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein
RE: Filter by Date and Copy to New Worksheet