+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting

Hybrid View

  1. #1
    Registered User
    Join Date
    11-19-2009
    Location
    Wrexham, Wales
    MS-Off Ver
    Excel 2003
    Posts
    8

    Conditional Formatting

    C2 Cell formatted for Date

    Currently is shows red if its older than today showing something has expired using: Cell Value is less than =TODAY() and shows Green if it still OK using greater to or equal to =TODAY()

    But i want:

    Red is older than today
    Amber is today or within 7 days
    Green if date is over 7 days

    Ive tried using 'between' but keep getting white cells..... Thanks
    Last edited by charger100; 11-27-2009 at 10:04 AM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Conditional Formatting

    Hi, you have the possibility of using three conditions. When you have entered the first, click the "add" button, enter second condition, etc..

  3. #3
    Registered User
    Join Date
    11-19-2009
    Location
    Wrexham, Wales
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Conditional Formatting

    Hi - yes there are two conditions already for the red and green, but the 3rd condition for the amber i cant seem to get right....

  4. #4
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Conditional Formatting

    =AND(C2>=(TODAY()-7),C2<Today())
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  5. #5
    Registered User
    Join Date
    11-19-2009
    Location
    Wrexham, Wales
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Conditional Formatting

    Right - im doing something wrong....

    Cell Value Is Less Than =TODAY() (this is formatted Red)
    plus
    Formula Is =AND(C2>=(TODAY()-7),C2<TODAY()) (this is formatted amber)
    plus
    Formula Is =AND(C2>(TODAY()-8)) (this is formatted Green)

    However the cells are remaining today and older in red and tomorrow and onwards in Green... no amber....

+ 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