Thanks Thanks:  0
Likes Likes:  0
Results 1 to 6 of 6

Thread: Conditional Formatting

  1. #1
    Guest

    Default

    i have applied conditional formatting..to turn a date red if it is within 5 days of today...=(f6-TODAY())<6.....what formula do I use to change the color once the date is past today's date?

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    83,599
    Post Thanks / Like
    Mentioned
    33 Post(s)
    Tagged
    6 Thread(s)

    Default

    On 2002-03-10 08:19, Anonymous wrote:
    i have applied conditional formatting..to turn a date red if it is within 5 days of today...=(f6-TODAY())<6.....what formula do I use to change the color once the date is past today's date?
    Add another condition with as formula:

    =F6>TODAY()


  3. #3
    New Member
    Join Date
    Mar 2002
    Location
    Pittsburgh, PA
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Itried that , it didn't work.

  4. #4
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    83,599
    Post Thanks / Like
    Mentioned
    33 Post(s)
    Tagged
    6 Thread(s)

    Default

    On 2002-03-10 08:49, pinkcasp wrote:
    Itried that , it didn't work.
    Lets take the problem step by step:

    You have dates in F from F6 on. Do these dates change or fixed?

    Aladin

  5. #5
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    83,599
    Post Thanks / Like
    Mentioned
    33 Post(s)
    Tagged
    6 Thread(s)

    Default

    On 2002-03-10 09:04, Aladin Akyurek wrote:
    On 2002-03-10 08:49, pinkcasp wrote:
    Itried that , it didn't work.
    Lets take the problem step by step:

    You have dates in F from F6 on. Do these dates change or fixed?

    Aladin
    OK (I got the answer via a different channel).

    Select the range of interest (containing due dates) from F6 on.
    Activate Format|Conditional Formatting.
    Choose 'Formula Is' for Condition 1.
    Enter in the formula box:

    =AND(TODAY()-F6>=1,TODAY()-F6<6)

    Activate Format.
    Select red on the Patterns tab.
    While still in the Conditional Dialog window, activate Add.
    Choose 'Formula Is' for Condition 2.
    Enter in the formula box:

    =F6>TODAY()

    Activate Format.
    Select a color different from red on the Patterns tab.
    Click OK, OK.

    ADDENDUM. Reading your mail once more, the "...AND all the due dates are not input yet" made me believe that you want to apply to cond format also to those cells missing a date. In that case, I'd suggest using:

    =AND(LEN(F6)>0,TODAY()-F6>=1,TODAY()-F6<6)

    =AND(LEN(F6),F6>TODAY())

    Aladin

    [ This Message was edited by: Aladin Akyurek on 2002-03-10 10:38 ]

  6. #6
    Board Regular Brian from Maui's Avatar
    Join Date
    Feb 2002
    Posts
    8,450
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •