+ Reply to Thread
Results 1 to 3 of 3

Conditional Formating-color of word to change to green

  1. #1
    Registered User
    Join Date
    09-23-2003
    Location
    California
    Posts
    38

    Conditional Formating-color of word to change to green

    I am trying to put 3 conditions in a text cell: If a Cell has the word "open" in it I would like the color of word to change to green if the current date is less than 45 days from a date cell, yellow if the current date is greater than 45 days and less that 60 days from the date cell, and red if the current date is 60 days over the date cell, and if another word is put in the cell, such as "closed" the color will stay the default color.
    Last edited by hodkd; 09-11-2007 at 04:38 PM.

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

    Try these conditional formats:

    First condition (Formula Is):
    =AND(A1="Open",D1>TODAY()-45)
    Format as Green font

    Second condition (Formula Is):
    =AND(A1="Open",D1>TODAY()-60,D1<=TODAY()-45)
    Format as Yellow font

    Third condition (Formula Is):
    =AND(A1="Open",D1<=TODAY()-60)
    Format as red font

    These assume cell A1 is going to (possibly) have the text "Open" in it, and that cell D1 will have the date you're testing against Today. Adjust your formulas to suit.

  3. #3
    Registered User
    Join Date
    09-23-2003
    Location
    California
    Posts
    38

    Smile Conditional Formating Answer

    Hi Paul, thank you very much, that works perfect.

    Ken

+ 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