+ Reply to Thread
Results 1 to 5 of 5

Formula that tells me whether a date is later than the current.

  1. #1
    Registered User
    Join Date
    08-20-2012
    Location
    Jersey, Channel Islands
    MS-Off Ver
    Office 2010
    Posts
    25

    Formula that tells me whether a date is later than the current.

    Hi all,

    First post on here, but I have read other answers on here, and you all seem very helpful and intelligent!

    I have been tasked by a Director to create a spreadsheet that decides if a date is compliant or not... For it to be compliant, it has to be within 10 months of the last accounts done. So, I have managed to do a (relatively) simple " =DATE(YEAR(D2),MONTH(D2)+10,DAY(D2)) " to work out when they would stop being compliant, however, what I want to know now is how to make a formula that would tell me if that date was after the current, for example, if the date was: "30/07/2012" it would say "No" however, if it were "31/10/2012" it would return a "Yes".

    Looking forward to testing out what I am sure will be all of your very smart and rapid responses and suggestions.

    Many thanks,
    Martin

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Formula that tells me whether a date is later than the current.

    Hi Martin,

    Welcome to the forum.

    You can use the logic as :-

    =if("your date formula">30/07/2012,"No", "Yes")

    You just need to change the logics of ">" and "<" and if still have issue, would suggest you to upload a sample workbook. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Formula that tells me whether a date is later than the current.

    If your "D2 + 10 months" formula is in E2 then try this formula

    =IF(E2<TODAY(),"No","Yes")
    Audere est facere

  4. #4
    Registered User
    Join Date
    08-20-2012
    Location
    Jersey, Channel Islands
    MS-Off Ver
    Office 2010
    Posts
    25

    Re: Formula that tells me whether a date is later than the current.

    Hi, thank you for your speedy reply.

    Sorry it seems that I was unclear

    I need to be able to have it compare the date to the current.

    For example, if i have compliant end date as 31/12/04, obviously that is not within 10 months of now, and so would not be compliant.

    I will attach a sample workbook for you to test

    I have edited names of entities and administrators only, so cell references should be fine.

    Thanks
    Martin

    Mock Table.xls

  5. #5
    Registered User
    Join Date
    08-20-2012
    Location
    Jersey, Channel Islands
    MS-Off Ver
    Office 2010
    Posts
    25

    Re: Formula that tells me whether a date is later than the current.

    Thank you very much.

    This worked an apsolute treat.

    Many thanks

    Martin

    P.S. I knew I would end up looking stupid because it would be something simple!

+ 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