+ Reply to Thread
Results 1 to 4 of 4

Return all dates that occur in the next 30 days

  1. #1
    Registered User
    Join Date
    09-23-2014
    Location
    Washington, DC
    MS-Off Ver
    2011
    Posts
    92

    Return all dates that occur in the next 30 days

    Hi everyone,

    I'm wondering if anyone has written a formula that returns any dates that occur between today and the next 30 days. This is what I tried:


    =SMALL(IF(and(DATA!$D$2:$D$9>=TODAY(), DATA!$D$2:$D$9<TODAY()+30),DATA!$D$2:$D$9),3)

    Any help is greatly appreciated!

    Alex

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Return all dates that occur in the next 30 days

    Not sure what are you trying to do, but try this......

    In any cell of your choice......

    Please Login or Register  to view this content.
    and copy down until you get blank cells and format as dates.

    This will give you next 30 dates after today's date.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    09-23-2014
    Location
    Washington, DC
    MS-Off Ver
    2011
    Posts
    92

    Re: Return all dates that occur in the next 30 days

    Not quite what I am looking for. I have a list of dates and I just want to return the dates from my list that occur in the next 30 days.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Return all dates that occur in the next 30 days

    Try this Array Formula. Since this is an Array Formula so you need to confirm it with Ctrl+Shift+Enter instead of just Enter.

    Assuming your dates are in the range D2:D9, then

    Please Login or Register  to view this content.
    Enter the formula with Ctrl+Shift+Enter and copy down until you get blank cells.

    Is this what you are trying to achieve?

+ 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. [SOLVED] Number of Days Between Dates but if no Date go to next and return # of Days
    By Bikeman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2012, 12:02 PM
  2. Replies: 2
    Last Post: 05-25-2012, 11:32 AM
  3. Replies: 2
    Last Post: 11-05-2010, 12:19 PM
  4. Attempting to List Activities to occur in the next 7 days
    By dchoward777 in forum Excel General
    Replies: 3
    Last Post: 02-28-2010, 03:34 PM
  5. Replies: 7
    Last Post: 01-16-2009, 05:04 AM

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