+ Reply to Thread
Results 1 to 6 of 6

Does such a function exist

Hybrid View

  1. #1
    Registered User
    Join Date
    06-22-2007
    Location
    Virginia
    Posts
    3

    Question Does such a function exist

    Hello everyone,

    I was curious to know if there is a way to put a formula into a cell such as when a person reaches 15months from a certain date the cell will turn a color such as red as a reminder. Any help would be great!

    Thanks much,
    Kennedy

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Use Conditional formatting which is under the Format Menu
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    06-22-2007
    Location
    Virginia
    Posts
    3
    What value or formula would I use to get the 15 month difference from a set date?

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning kennedy

    Your question's a bit vague, so I can't give you an answer to your circumstances, but say you have a date in A1 and a date in B1, then set this up in C1 to change it's colour if it's within 15 months :

    FormulaIs
    =DATEDIF($A$1,$B$1,"m")<15


    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  5. #5
    Registered User
    Join Date
    06-22-2007
    Location
    Virginia
    Posts
    3
    OK, so here is the whole story. I'm in the Navy and I have to make a default spreadsheet for different divisions onboard to use. My knowledge of spreadsheets isn't very good, I can do very basic things. There is a Column in the spreadsheet for each persons "PRD" (the date they are supposed to transfer, each person's if different) I need to find a way to make the cell turn red whenever their "PRD" is 15 months or less away from =NOW(). Let me know if you need more info, sometimes I don't put what I'm thinking into words very well.

  6. #6
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Hi kennedy

    Say your PRD date is in cell A1 then this formula in Conditional Formatting will change the colour of the cell when it is within 15 months of today's date :
    =DATEDIF($A$1,NOW(),"m")<15

    HTH

    DominicB

+ 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