+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting on 2 conditions

  1. #1
    Registered User
    Join Date
    06-27-2017
    Location
    England
    MS-Off Ver
    2016
    Posts
    13

    Conditional Formatting on 2 conditions

    Hi all,

    I want to a cell to change colour dependant on 2 conditions.

    Logic:

    If
    H3 is 'No'

    AND
    J3 is blank

    Then
    J3 is Red

    Else
    J3 is white.


    I want this to be conditionally formatting, as the user is to write in the red box thus the box returning to white once text has been inputted.

    Many thanks

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Conditional Formatting on 2 conditions

    Hi,

    Select cell J3,

    Use normal cell formatting to set the fill to white, then use this formula to activate the red fill

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Registered User
    Join Date
    06-27-2017
    Location
    England
    MS-Off Ver
    2016
    Posts
    13

    Re: Conditional Formatting on 2 conditions

    Much Appreciated Sweep!!

    I attempted something very similar (it seems like overkill compared to yours + it didn't work)

    I tried used IF in conjunction with AND.

    Just out of curiosity, would IF(AND work in this instance?

    Thanks again


  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Conditional Formatting on 2 conditions

    You could write an IF(AND... formula however that would be overkill as you mention.
    The formula would probably read: =IF(AND(H3="No",J3=""),TRUE,FALSE) which would evaluate to either TRUE or FALSE the same as =AND(H3="No",J3="") does.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Conditional Formatting with 5 conditions! Can it be done?!
    By lesley9 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-14-2016, 09:02 AM
  2. 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
  3. Conditional Formatting with two conditions
    By dataman22 in forum Excel General
    Replies: 11
    Last Post: 08-31-2014, 03:00 AM
  4. 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
  5. Too many Conditions for Conditional Formatting
    By alexandra60 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-15-2008, 12:52 PM
  6. Conditional formatting wth more than 3 conditions
    By Temp in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 04:05 AM
  7. [SOLVED] Conditional formatting wth more than 3 conditions
    By Sue in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

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