×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Filter by Date and Copy to New Worksheet

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

RE: Filter by Date and Copy to New Worksheet

Hi,

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,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein

RE: Filter by Date and Copy to New Worksheet

(OP)
Hi Skip
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

You can record a macro that...
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,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein

RE: Filter by Date and Copy to New Worksheet

here's your file.

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,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein

RE: Filter by Date and Copy to New Worksheet

(OP)
Thanks Skip. Shall await for the updated file to address missing months.

RE: Filter by Date and Copy to New Worksheet

(OP)
Thank you so much Skip. Always a life saver!bigsmile

RE: Filter by Date and Copy to New Worksheet

You give me opportunities to keep my skills sharp, having been retired for over 5 years. Enjoyed the challenge.

Skip,

glassesJust traded in my OLD subtlety...
for a NUance!tongue

"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein

RE: Filter by Date and Copy to New Worksheet

(OP)
Skills are sharp as ever. You've been helping solve my issues since many years ago. Thanks 2thumbsup

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close