+ Reply to Thread
Results 1 to 3 of 3

Condtional formatting with AND not working on on cells

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-08-2015
    Location
    Asheville NC
    MS-Off Ver
    Excel for Office 365 MSO
    Posts
    113

    Condtional formatting with AND not working on on cells

    I am trying to use conditional formatting to color a cell green if 2 conditions are met....one being if there is an "a" in the cell and second if the value in another cell is greater than 1. I've done the formula several ways but can not get it to color all of the applicable cells. I've looked through the threads and other sites but can not find a solution. Attached is the spreadsheet with the conditional formatting. Thanks for any help.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,301

    Re: Condtional formatting with AND not working on on cells

    In your formula, remove the $ from in front of the D, and the formula will look at each cell's value and not just that of column D.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Condtional formatting with AND not working on on cells

    select range D8:H8 and in edit rule
    REMOVE $ SIGN BEFORE D in conditional format formula like
    =AND($C4="a",D4>1)

    and click ok and apply buttons
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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. Condtional formatting for multiple cells
    By vsravi.kmb in forum Excel General
    Replies: 2
    Last Post: 05-07-2014, 02:45 AM
  2. Auto filing and condtional formatting cells based on cell value.
    By CJPHX in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-05-2011, 08:49 AM
  3. Auto filing and condtional formatting cells based on cell value.
    By SierraPants in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-04-2011, 05:59 PM
  4. Condtional Formatting: highlight MIN(s) but ignore blank cells
    By needsomehelpher in forum Excel General
    Replies: 5
    Last Post: 09-24-2010, 04:42 AM
  5. [SOLVED] condtional formatting not working
    By Anzley in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2006, 09:10 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