+ Reply to Thread
Results 1 to 5 of 5

Show upcoming date - Excel formula

  1. #1
    Guest
    Join Date
    05-09-2015
    Location
    Moon
    MS-Off Ver
    MS office 2013
    Posts
    24

    Show upcoming date - Excel formula

    Hi!

    I have a range of dates which I want to compare to todays date by using my formula.
    The idea is that the formula will show the upcoming date based on that range. For example, if the range look like this;

    2015-01-20
    2015-02-20
    2015-03-20
    2015-04-20
    2015-05-20
    2015-06-20
    2015-07-20
    2015-08-20
    2015-09-20
    2015-10-20
    2015-11-20

    The formula should give me 2015-10-20, if today was 2015-10-21 it should give me 2015-11-20.
    I tried to use this formula but it only gave me 1900-01-01. It must be something simple I am missing.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Thanks in advance!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Show upcoming date - Excel formula

    Sounds like the dates in A2:A12 are not really dates.

    What does this return
    =ISNUMBER(A2) and filled down

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Show upcoming date - Excel formula

    D1 = today()

    E1 = INDEX($A$1:$A$11,match($D$1,$A$1:$A$11,1)+1,1)
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Guest
    Join Date
    05-09-2015
    Location
    Moon
    MS-Off Ver
    MS office 2013
    Posts
    24

    Re: Show upcoming date - Excel formula

    Thank you both for your quick reply! I managed to solve it eventually
    My first strategy was actually to tackle this using INDEX and MATCH but I didnt think of including +1.

    Oeldere - Could you possible just explain what the last part of the parenthese do? This part +1,1)...
    Last edited by Sinep D; 09-29-2015 at 04:39 PM.

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Show upcoming date - Excel formula

    This part +1,1)...

    +1 => take the next value instead of the found value.

    ,1 take the result from column 1 in the index (in this case A).

+ 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. Show upcoming occasions
    By Amit_H in forum Excel General
    Replies: 6
    Last Post: 04-27-2015, 04:45 PM
  2. formula to output upcoming quarter end date (for a broken fiscal year)
    By canaille in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-22-2014, 05:01 PM
  3. Using CF to show upcoming due dates (in color)
    By 32 IS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2013, 06:53 AM
  4. [SOLVED] Macro to show upcoming date
    By pauld.ccvw in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 08-02-2012, 05:50 AM
  5. Date & time input interface and show upcoming events based on urgency
    By Alheksi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-04-2010, 08:26 AM
  6. Upcoming Date Notification
    By jgurgen in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-16-2007, 12:18 PM
  7. Upcoming Date alerts
    By Trenton in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-31-2006, 04:55 PM

Tags for this Thread

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