+ Reply to Thread
Results 1 to 6 of 6

automatically update colors based on dates

  1. #1
    Registered User
    Join Date
    11-13-2009
    Location
    clovis, nm
    MS-Off Ver
    Excel 2007
    Posts
    2

    automatically update colors based on dates

    So I'm making a spreadsheet based on dates. I want the cell to be filled with different colors based on when the date is 1 month away, 3 months away, and 6 months away. And then when it becomes 1 month away, 3 months away, or 6 months away, I want the color to automatically change. I'm not sure this is even possible, but any help would be much appreciated.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: automatically update colors based on dates

    Hi Laurend, welcome to the forum.

    You can do this pretty simply using Conditional Formatting. Try doing a search for conditional formatting dates and you'll get a wealth of information.

    Hope that helps!

  3. #3
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: automatically update colors based on dates

    To automatically "color" a cell use Conditional Formatting.
    See this link for help on the topic. Contextures - Conditional Formatting

    when it becomes 1 month away, 3 months away, or 6 months away, I want the color to automatically change
    You'll have t provide more details, such as what is the comparison date by which to judge if a date in the cell is 1-month away?
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  4. #4
    Forum Contributor
    Join Date
    12-02-2008
    Location
    India
    Posts
    118

    Re: automatically update colors based on dates

    Hey!
    You can do this using conditional formatting.
    Select the rows where u want this to be done then go to:
    Format>Conditional Formatting
    Choose >formula is> =Row-Today()<30.... then choose wotever colour you want the date be in.. then click add... and so on...

    There are many threads and links u'll find on conditional formatting...

    Hope this gives u a start...

    Regards
    Mohit

  5. #5
    Registered User
    Join Date
    11-13-2009
    Location
    clovis, nm
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: automatically update colors based on dates

    The comparison date would be today. So I want the colors to automatically change when the item is 30 days away from being due, 60 days away from being due, and 90 days away. The date in the columns is the due date, which is what I want colored. All the help I'm getting is for an older version of Excel. I have the newest version.

  6. #6
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: automatically update colors based on dates

    All the help I'm getting is for an older version of Excel. I have the newest version.
    None of the comments, thus far, are version specific. The suggested solution below will work will all versions (at least 2000-2007).

    To use conditional formatting to color cells based on values being within a date range you will need to use formulas like these.

    CF formula #1: AND(A1>=TODAY()-90,A1<=TODAY()-60)
    CF Formula #2: AND(A1>=TODAY()-60,A1<=TODAY()-30)
    CF Formula #3: AND(A1>=TODAY()-30,A1<=TODAY())

    See the attached.

+ 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