+ Reply to Thread
Results 1 to 4 of 4

Need help with date function/formula

Hybrid View

  1. #1
    Registered User
    Join Date
    08-05-2012
    Location
    Kent, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Need help with date function/formula

    Hi Everyone,

    This may be simple but its my brick wall!


    My spreadsheet has a date (random) in cell A1 and i want to show (by entering the number 1)in cell A2 if that date is before a specific, constant date (2/29/12). If it is not before 3/1/12 then I want to show 0 in cell A2.

    The random date is a hire date and the specific date is an eligibility deadline.
    I also need to show if a second deadline of pre-8/31/2010 is reach by similarly entering a 1 or 0 in cell A3.

    I've tried IF functions but not sure how to enter the dates. Any help greatly appreciated!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,963

    Re: Need help with date function/formula

    with your fixed date in J2 and your random date in J3, try =IF(J3>J2,0,1). you may have to swap the ,0,1 around to suite your needs
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-05-2012
    Location
    Kent, USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Need help with date function/formula

    Thanks for your speedy reply, it did work for me.
    I had been trying to incorporate the fixed info (date )within the formula rather than using the cell reference but that was just too much!

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Need help with date function/formula

    Maybe just:

    =N(J3>J2)

    or reversed (as FD says)

+ 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