+ Reply to Thread
Results 1 to 5 of 5

Formula based on the date

  1. #1
    Registered User
    Join Date
    08-03-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question Formula based on the date

    Hi there!

    I would like to create a formula that turns a cell red after a certain amount of time has elapsed. Attached is the idea i'm trying to achieve. For Answering.xlsx

    Thank you!!

    Ben

  2. #2
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Formula based on the date

    Do you need it to be exactly one month? The attached file uses 30 days.
    Attached Files Attached Files
    When I say semicolon, u say comma!

  3. #3
    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: Formula based on the date

    Hello and Welcome,

    You would have to use Conditional Formatting and formula DATEDIF(A1,A2,"D") Where A1 is start date, A2 is end date and "D" is to return number of days, "M" is for months and "Y" for years.
    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

  4. #4
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Formula based on the date

    Quote Originally Posted by AlKey View Post
    Hello and Welcome,

    You would have to use Conditional Formatting and formula DATEDIF(A1,A2,"D") Where A1 is start date, A2 is end date and "D" is to return number of days, "M" is for months and "Y" for years.
    That's much better, yes.

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Formula based on the date

    To apply C/F one calendar month before expiry date use this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  6. #6
    Registered User
    Join Date
    08-03-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Formula based on the date

    Cool that's perfect!

    Thank you!!!

    Ben

+ 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] Formula to enter a date in one column based on date in another
    By Dena in forum Excel General
    Replies: 7
    Last Post: 06-10-2013, 11:46 AM
  2. [SOLVED] Formula for calculating a new date based on an existing date and other cell criteria
    By scsuflyboy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2013, 09:49 AM
  3. [SOLVED] Formula assistance needed to sum data based on anniversary date and month date
    By lilsnoop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2012, 11:18 PM
  4. [SOLVED] Formula to Generate Date Based on Another Date
    By BASmith in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-01-2012, 03:59 PM
  5. formula to generate month-to-date based on auto date
    By infinitysales in forum Excel General
    Replies: 1
    Last Post: 06-27-2008, 01:09 AM

Tags for this Thread

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