+ Reply to Thread
Results 1 to 7 of 7

Pull Data Based on Dates?

  1. #1
    Registered User
    Join Date
    10-17-2008
    Location
    Norcross, GA
    MS-Off Ver
    MS Excel 2007
    Posts
    35

    Pull Data Based on Dates?

    Hi, I am not good when it comes to dates so some help will be greatly appreciated.

    I have a bunch of data in a sheet, for example

    A1:John
    A2: 4/10/09 12:15pm

    A3: Tom
    A4 3/9/09 1:30pm

    A5: Ron
    A6: 4/7/09 5:00pm
    etc.

    Is there anyway I can have the user click a button and extract data that has the dates two weeks from today to a different column (C)? In the example, only A1,A2,A5,A6 will be extracted.

    I know how to find cells but am not sure how to create the range for the code. Please let me know if my question is not clear enough! Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Pull Data Based on Dates?

    okriskao,

    Please post your workbook - scroll down and see "Manage Attachments".


    Have a great day,
    Stan
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Registered User
    Join Date
    10-17-2008
    Location
    Norcross, GA
    MS-Off Ver
    MS Excel 2007
    Posts
    35

    Re: Pull Data Based on Dates?

    I can't post my workbook so I made up an example and attached it onto here. Thank you so much for your help.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Pull Data Based on Dates?

    okriskao,

    Your instructions do not match the data in your workbook.

    Please post another workbook with the data on Sheet1, range B2:B5, moved to another location.

  5. #5
    Registered User
    Join Date
    10-17-2008
    Location
    Norcross, GA
    MS-Off Ver
    MS Excel 2007
    Posts
    35

    Re: Pull Data Based on Dates?

    This is what I wanted it to do, so the information prints out on different pages. Thanks!
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Pull Data Based on Dates?

    okriskao,

    See the attached workbook "Pull Data Based on Dates - okriskao - SDG.xlsm", with a button "Move Data", that when clicked, will do as you have requested.


    Have a great day,
    Stan
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-17-2008
    Location
    Norcross, GA
    MS-Off Ver
    MS Excel 2007
    Posts
    35

    Re: Pull Data Based on Dates?

    Thank you so much for your help!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1