+ Reply to Thread
Results 1 to 5 of 5

Need to output a list of dates in a certain timeframe

  1. #1
    Forum Contributor
    Join Date
    12-19-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    191

    Need to output a list of dates in a certain timeframe

    Hi All,

    In sheet 2 of my workbook I have a series of dates and in sheet one I have a start date and an end date in cells B1 and B1 respectively. What I'm looking for is a list of dates (from A5 down on sheet 1) that fall between the two specified in the start and end date cells. I assume I'm looking for an array formula but don't know! Hastily made example workbook attached.

    Any help would be greatly appreciated. Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Need to output a list of dates in a certain timeframe

    1. retype your dates in b1 and b2 so they are recognized as dates.
    2. Change cell A5 to =b1
    3. Change cell A6 to =IF(OR(A5=$B$2,A5=""),"",A5+1) and drag down.
    Please click the * icon below if I have helped.

  3. #3
    Forum Contributor
    Join Date
    12-19-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: Need to output a list of dates in a certain timeframe

    Hi Melvinrobb,

    That just gives me a sequential list of dates between the two specified dates, I need it to list the applicable dates from the list given on the second sheet. Thanks

  4. #4
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Need to output a list of dates in a certain timeframe

    This Array formula in A5:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This array formula in A6 and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    There is probably a cleaner way, with only one formula, but... this will work.

  5. #5
    Forum Contributor
    Join Date
    12-19-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    191

    Re: Need to output a list of dates in a certain timeframe

    And work it does, many thanks!
    Last edited by TPDave; 05-07-2014 at 10:33 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 10-21-2013, 07:55 PM
  2. How to add another timeframe into this spreadsheet
    By islanddave in forum Excel General
    Replies: 1
    Last Post: 10-21-2013, 12:22 PM
  3. Output list of dates
    By chris ash in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-06-2011, 08:01 PM
  4. Replies: 8
    Last Post: 02-27-2009, 06:06 PM
  5. Output from a range of dates.
    By pevaughn in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-09-2008, 05:57 PM

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