+ Reply to Thread
Results 1 to 4 of 4

IF Statement If Between these dates = this

  1. #1
    Registered User
    Join Date
    09-30-2013
    Location
    Ontario
    MS-Off Ver
    Excel 2007
    Posts
    1

    IF Statement If Between these dates = this

    Hello,

    I'm trying to do a IF formula so that IF this date range between "May 1, 2012" and "May 1, 2013" that it = 1, this relates to year one of a sort of agreement, I also need it for other date ranges as well, so I need a multi if statement that also goes if between May 1, 2013 and May 1, 2014 = 2, and 3, and so on.
    I tried doing it and I kept getting an error so I'm seeking for some help.

    Let me know if you need any additional details.

    Thanks!

  2. #2
    Registered User
    Join Date
    05-28-2013
    Location
    CT
    MS-Off Ver
    Excel 2010
    Posts
    90

    Re: IF Statement If Between these dates = this

    If you enter May 1, 2012 into A1, May 2, 2013 into A2, etc. and you have the date you want to compare in B1, see if this helps you get started:

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: IF Statement If Between these dates = this

    Why not something like:
    Round((Higher Date - Lower Date)/365,0)
    You'll need to reformat as a number... it may auto-convert it into a date.
    Going for Guru! Click the Star to the bottom left of this post if I helped!

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: IF Statement If Between these dates = this

    Ok maybe check the files, hope it meet your expectation....

    Regards
    Azumi
    Attached Files Attached Files

+ 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. HELP! IF statement containing DATES
    By ohiamluis in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-08-2013, 01:05 PM
  2. IF STATEMENT and Dates
    By gballard in forum Excel General
    Replies: 6
    Last Post: 05-30-2012, 03:31 PM
  3. using dates in IF statement
    By bigchuda in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-28-2008, 02:55 PM
  4. Dates and if statement
    By FSCGunslinger in forum Excel General
    Replies: 7
    Last Post: 02-12-2008, 08:39 AM
  5. [SOLVED] IF statement with two dates
    By jbormann in forum Excel General
    Replies: 2
    Last Post: 07-18-2006, 12:32 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