+ Reply to Thread
Results 1 to 9 of 9

Conditional Formatting Multiple Rules

  1. #1
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71

    Conditional Formatting Multiple Rules

    I am using conditional formatting to highlight a cell orange after one week, and then red after two weeks. This is the rule I am using for one week, which works:

    =AND(X2="",U2<>"",V2="",W2="",F2<=F2+7)

    This is what I did for two weeks, but I can't get it to work, the cell remain orange:

    =AND(X2="",U2<>"",V2="",W2="",F2<=F2+14)

    Any suggestions on how to fix this?
    Last edited by oldchippy; 10-23-2008 at 03:40 PM.

  2. #2
    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 Multiple Rules

    F2<=F2+7 is always true as 0<=7, this does not make sense.
    use F2<=Static Date+7 instead
    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

  3. #3
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71
    Here's the situation. I need to flag each person who does not write an order in their first week, and again if they don't write an order in two weeks. So they dates are different for everyone.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    I didn't look closely at your formulas, but assuming they work, you need to reverse the order. The first condition that's satisfied dictates the format.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71
    When I do that, they come up red even if it's not past 14 days, and I'm not sure why? Any suggestions?

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Post a workbook?

  7. #7
    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 Multiple Rules

    Take this workbook as a starting point. It includes the CF:
    Please Login or Register  to view this content.
    Explination: MAX(--(C3=$C$2:C2)*(A$2:$A2)) is the previous date
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71
    Sample.xlsx

    Here's a sample.

  9. #9
    Registered User
    Join Date
    08-22-2008
    Location
    Michigan
    Posts
    71
    I figured it out!

    To flag it orange after 1 week I did this:
    =AND(AG3="",AB3<>"",AC3="",AD3="",F3+7<=TODAY())
    And then to flag it red after 2 weeks, I did this:
    =AND(AG3="",AB3<>"",AC3="",AD3="",F3+14<=TODAY())

    Please mark this as solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need to apply 4 conditional formatting rules.
    By eckert1961 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 08-24-2008, 06:10 PM
  2. How to apply Macro to a cell?
    By Twaddy in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 08-02-2008, 05:59 PM
  3. Conditional Formatting with more than 3 rules
    By vickyho1008 in forum Excel General
    Replies: 5
    Last Post: 07-24-2008, 10:06 PM
  4. Conditional Formatting multiple cells
    By mc515 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-04-2008, 06:10 AM
  5. Excel 2007 conditional formatting bug
    By jmessina in forum Excel General
    Replies: 0
    Last Post: 04-28-2008, 09:09 AM

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