+ Reply to Thread
Results 1 to 7 of 7

If statements based on dates

  1. #1
    Registered User
    Join Date
    04-08-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    38

    If statements based on dates

    I have a lot of dates ranging from 2013 - 2015
    I want to create if statements so by if a date is surpassed then the if statement result will change.

    i.e.

    =IF(a2=1/8/2014,"Existing",IF(a2<1/8/2014,"Out of Date",IF(a2>1/9/2014,"Upcoming")))

    All dates begin with a the first day of the month - however when I use this formula the only result that comes up is "Upcoming"

    Please can you help!?

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: If statements based on dates

    Try this formula

    =IF(A2=DATE(2014,8,1),"Existing",IF(A2<DATE(2014,8,1),"Out of Date",IF(A2>DATE(2014,9,1),"Upcoming","")))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    04-08-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: If statements based on dates

    THats great! thanks!!

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: If statements based on dates

    this should also work

    Please Login or Register  to view this content.
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  5. #5
    Registered User
    Join Date
    04-08-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: If statements based on dates

    Sorry it doesn't pick up that the 2015 dates are Upcoming?

  6. #6
    Registered User
    Join Date
    04-08-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: If statements based on dates

    It works!! thank you

  7. #7
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: If statements based on dates

    which one? or both?....just curious

+ 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] Auto filling dates based on previously entered dates and averaging numbers if dates equal
    By grambograham in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2012, 03:21 PM
  2. IF statements and due dates
    By jh-biscoe in forum Excel General
    Replies: 4
    Last Post: 11-21-2011, 11:08 AM
  3. IF statements using DATES
    By tttt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-13-2007, 12:51 AM
  4. Help with Dates and IF Statements
    By chrysti in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-19-2006, 04:57 PM
  5. [SOLVED] If statements and Dates
    By Sue in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-21-2006, 12:10 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