+ Reply to Thread
Results 1 to 9 of 9

Conditional formatting - Can it satisfy two conditions?

  1. #1
    Forum Contributor
    Join Date
    03-29-2013
    Location
    US
    MS-Off Ver
    Office 2016
    Posts
    109

    Conditional formatting - Can it satisfy two conditions?

    I've set up a very simple conditional format on a numeric column, with numbers less than zero colored red, and numbers greater than zero colored green. Now, if I also want to make the column bold when an additional condition is true (1st of the month, derived from a formula).

    =DAY($C130)=1

    But it seems that only one of the conditions can be met, and only one conditional format applied. Or am I doing something wrong?

    Is it necessary to use four conditions for something like this? Red/non-bold, red/bold, green/non-bold, green/bold? That would quickly become onerous if you wanted to add additional formatting like borders, italics, etc.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: Conditional formatting - Can it satisfy two conditions?

    Just create an additional CF rule for the same range of cells.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Conditional formatting - Can it satisfy two conditions?

    Quote Originally Posted by Carson Dyle View Post
    Red/non-bold, red/bold, green/non-bold, green/bold? That would quickly become onerous if you wanted to add additional formatting like borders, italics, etc.
    My eyes are starting to bleed!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Contributor
    Join Date
    03-29-2013
    Location
    US
    MS-Off Ver
    Office 2016
    Posts
    109

    Re: Conditional formatting - Can it satisfy two conditions?

    Quote Originally Posted by AliGW View Post
    Just create an additional CF rule for the same range of cells.
    That's what I've done, but it doesn't appear to have an effect if either of the first two conditions is met. And why I'm asking the question.

    A very simple test:

    Condition 1: Cell Value is greater then 0 -> color green
    Condition 2: Cell Value is between 2 and 5 -> bold

    Enter 3, you get only green, no bold.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: Conditional formatting - Can it satisfy two conditions?

    Have you ticked the stop if true box?

  6. #6
    Forum Contributor
    Join Date
    03-29-2013
    Location
    US
    MS-Off Ver
    Office 2016
    Posts
    109

    Re: Conditional formatting - Can it satisfy two conditions?

    Should have mentioned that I'm using Excel 2003. I don't see a 'stop if true' option.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,421

    Re: Conditional formatting - Can it satisfy two conditions?

    Ah, OK - sorry, the earliest version I have is 2010.

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Conditional formatting - Can it satisfy two conditions?

    Quote Originally Posted by Carson Dyle View Post
    Should have mentioned that I'm using Excel 2003. I don't see a 'stop if true' option.
    In Excel 2003 you can have only 3 conditional format rules per cell.

  9. #9
    Forum Contributor
    Join Date
    03-29-2013
    Location
    US
    MS-Off Ver
    Office 2016
    Posts
    109

    Re: Conditional formatting - Can it satisfy two conditions?

    Yeah, I found this:

    https://support.office.com/en-us/art...5-8e8126076249

    So looks like I'm SOL.

+ 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. Delete Conditional Formatting conditions but keep cell formatting
    By Devendra.dvm in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-03-2016, 04:07 AM
  2. IF, INDEX, MATCH, MIN to Satisfy Multiple conditions
    By Neyme in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-08-2015, 07:30 PM
  3. want find out the number if it satisfy certain conditions
    By balundl in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-08-2014, 06:39 AM
  4. [SOLVED] Formula to get the count of items that satisfy two conditions
    By Excel Dumbo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-23-2013, 04:32 PM
  5. [SOLVED] Calculate difference if satisfy multiple conditions
    By hparnian in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-27-2012, 02:03 PM
  6. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  7. How do I satisfy 3 of 4 conditions and get a true/false result?
    By Baron J79 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-15-2008, 03:21 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