+ Reply to Thread
Results 1 to 2 of 2

how to change colour based on date

  1. #1
    Registered User
    Join Date
    10-04-2008
    Location
    england
    Posts
    1

    how to change colour based on date

    Hi,

    I am new to using excel and currently working through a interactive work book. my problem is this i need to change the colour of individual cells according to the date. column 1 contains dates of qualifications if it is within 5 months from the date listed to todays date i need it to turn green. If it is between 5-6 months then i need to turn it orange and if it is over 6 months i need it to turn red. Further columns in this spread sheet are to do the same but with different dates.

    I.E

    If the date today is 04/10/08 then the following dates will need to be the following colours:

    04/09/08 is within 5 months and will stay green

    01/05/08 is between 5 months and 6 moths ago and will need to turn orange

    01/03/08 is over 6 months and should turn red

    i hope that someone can help with this problem as it will save me a lot of paperwork

    many thanks pete

  2. #2
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394

    reply

    • highlight all the date cells
    • select Format\Conditional formatting from the menu
    • Select Formula is from the first drop down box
    • enter a formula in the next box that will resolve as true or false. ie =A1+152>today()
    • set your colour by clicking the format button and then the patterns tab
    • create 2 more conditions as per your example

    Matt

+ 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. Calculate date based on multiple cells
    By scaffdog845 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2008, 10:59 AM
  2. Change the time so the date changes @6am
    By cronic in forum Excel General
    Replies: 2
    Last Post: 03-03-2008, 03:13 PM
  3. code to change text colour
    By n1k in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-21-2008, 12:35 PM
  4. Date colour change in a range
    By brianzs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-15-2008, 10:28 AM
  5. IF A1="foobar" THEN change background colour for cells A2:A7?
    By Paltsi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-12-2006, 11:01 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