+ Reply to Thread
Results 1 to 2 of 2

Color Coding Cells

  1. #1
    Registered User
    Join Date
    02-05-2006
    Posts
    1

    Question Color Coding Cells

    I am trying to figure out how to color code each cell based upon the date. If the date in the cell is 3 months or more away then it should be green, if the date is within the 3 month period then it should be yellow, if the date is today or later then it should be red. How do I write a formula that will do this?
    Last edited by c_shema; 02-05-2006 at 09:51 AM.

  2. #2
    Damon Longworth
    Guest

    Re: Color Coding Cells

    Try something similar to this in conditional formatting - Formula is, with
    A1 active:

    Condition1
    =TODAY()-A1>90

    Condition2
    =AND(TODAY()-A1<91,TODAY()-A1>0)

    Condition3
    =TODAY()-A1<1

    --
    Damon Longworth

    2006 East Coast Excel User Conference
    April 19/21st, 2006
    Holiday Inn, Boardwalk
    Atlantic City, New Jersey
    Early Bird Registration Now Open!!
    www.ExcelUserConference.com

    2006 UK Excel User Conference
    Summer, 2006
    London, England
    "c_shema" <[email protected]> wrote in
    message news:[email protected]...

    I am trying to figure out how to color code each cell based upon the
    date. If the date in the cell is 3 months or more away then it should
    be green, if the date is within the 3 month period then it should be
    yellow, if the date is today or later then it should be red. How do I
    write a formula that will do this?


    --
    c_shema
    ------------------------------------------------------------------------
    c_shema's Profile:
    http://www.excelforum.com/member.php...o&userid=31197
    View this thread: http://www.excelforum.com/showthread...hreadid=508690



+ 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