+ Reply to Thread
Results 1 to 2 of 2

Conditional Formating using formula that has multiple conditions

  1. #1
    Registered User
    Join Date
    10-16-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    19

    Conditional Formating using formula that has multiple conditions

    Hi, can anyone help me with this?
    can we write a formula with multiple conditions to apply conditional formatting.
    when multiple conditions are met. the cell should be applied red.
    I have applied the conditional formating in the cell C2. the formating is not applied.
    IF(AND($A$2=""No"",$B$2=""Yes"") -- when this condition is met, I want the C2 cell to turn to Red. sample sheet attached
    highlight cell C2, go to conditional formating - Manage rules to edit the formula.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Conditional Formating using formula that has multiple conditions

    hi there. a few things:

    1. your formula is wrapped around with double quotes. remove them. when i went in the rules, it was:
    ="IF(AND($A$2=""No"",$B$2=""Yes""))"

    2. you only need to put in 1 double quotes, before & after a text. so "No" and not ""No""

    3. IF is to say that if the condition is met, put something. you only need the logical test for it to work. to use IF, it is something like:
    =IF(AND($A$2="No",$B$2="Yes"),TRUE,FALSE)
    but you can simply use:
    =AND($A$2="No",$B$2="Yes")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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. Conditional Formating two conditions
    By tims31 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-04-2014, 08:02 AM
  2. [SOLVED] Help with Conditional Formating and formula with multiple conditions
    By Snoddas in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-02-2013, 11:28 PM
  3. Replies: 10
    Last Post: 05-18-2010, 11:35 AM
  4. Can I use more than three conditions for conditional formating?
    By Jmaas in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-28-2006, 07:20 PM
  5. [SOLVED] More that 3 conditions for conditional formating?
    By Jerry Kinder in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 10-19-2005, 02: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