+ Reply to Thread
Results 1 to 3 of 3

Formula For Dates

  1. #1
    Registered User
    Join Date
    05-30-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    62

    Formula For Dates

    Good Day

    I please need some help,

    I am looking for a formula that will pull through a set date, if the dates chosen fall between certain dates. E.g below:

    The rules are: 1 Jan 2010 to 30 June 2010 - should pull through 30 June 2016
    1 July 2010 - 30 June 2011 - should pull through 30 June 2017
    1 July 2011 - 30 June 2012 - should pull through 30 June 2018
    And so on.

    My question is if 1 April 2010 is select as the date, what formula do I use to check if 1 April 2010 is between 1 Jan 2010 and 30 June 2010 in order to give me 30 June 2016?

    Please Help?

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    HOME: Excel 2007 - WORK: Excel 2013
    Posts
    7,007

    Re: Formula For Dates

    =if(and(a1>=datevalue("01/06/2010"),a1<=datevalue("30/06/2010"),"30/06/2016",if(and(a1>=datevalue("01/07/2010"),a1<=datevalue("30/06/2011"),"30/06/2017",if(and(a1>=datevalue("01/07/2011"),a1<=datevalue("30/06/2012"),"30/06/2018")))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2010
    Posts
    6,019

    Re: Formula For Dates

    If A1 has date,

    Please Login or Register  to view this content.

+ 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] Creating a formula to populate range of cells between dates based on start and end dates
    By Rainmain82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-20-2014, 07:42 PM
  2. [SOLVED] Creating a formula to populate range of cells between dates based on start and end dates
    By Rainmain82 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2014, 07:55 AM
  3. Replies: 1
    Last Post: 06-14-2014, 02:01 AM
  4. Replies: 11
    Last Post: 05-04-2014, 08:28 PM
  5. Check dates in range either same dates or different dates by formula
    By breadwinner in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-12-2013, 07:42 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