+ Reply to Thread
Results 1 to 4 of 4

Date Filter based on Cell Input - single date or range of dates

  1. #1
    Registered User
    Join Date
    03-16-2012
    Location
    Edmonton
    MS-Off Ver
    Excel 2010
    Posts
    4

    Date Filter based on Cell Input - single date or range of dates

    I’ve looked through all the various examples and none seem to fit what I’m after, so I've come looking for some wisdom.

    I have data attached to forward looking dates and I want to be able to filter the dates based on both – 1) a single date, or 2) a range of dates (eg. the next 5 days) using cell input(s).

    The input dates that would be in cell J1:J5, where J1 would represent the start and/or single date and J5 would represent the end date. I’m also looking for all the relevant data for the dates inbetween, when applicable.

    The body of the data would be contained with (B13:F8000) where the dates are contained in column B.

    It’s sort of like the date filter but with custom dates based on cell input. Attached is a crude example.

    Any guidance would be greatly appreciated.
    Attached Files Attached Files
    Last edited by babaloo; 03-22-2012 at 06:48 PM.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Date Filter based on Cell Input - single date or range of dates

    Use Advanced Filter, 10x easier.

    http://www.contextures.com/xladvfilter01.html

  3. #3
    Registered User
    Join Date
    03-16-2012
    Location
    Edmonton
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Date Filter based on Cell Input - single date or range of dates

    You're right, and thanks. I was hoping for a more 'slick' way of vetting the data, but this will work just as well.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Date Filter based on Cell Input - single date or range of dates

    Hi babaloo
    I'd think you could use a UserForm for this if you're interested. See attached.
    Attached Files Attached Files
    Last edited by jaslake; 03-23-2012 at 11:07 AM.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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