+ Reply to Thread
Results 1 to 5 of 5

conditional formatting based on 2 conditions

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    KC,MO
    MS-Off Ver
    Excel 2007
    Posts
    2

    conditional formatting based on 2 conditions

    I need to highlight column I when there is a value of '0' in column I, and any date (or just not blank) in column F.

    I tried the following formula but did not get any results:

    =AND(NOT(ISBLANK($F5:F71)),$I5:$I71=0)

    Thanks.
    Last edited by wav87; 09-05-2012 at 03:14 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    12,845

    Re: conditional formatting based on 2 conditions

    You just need to set up the formula as if it's for the first cell in your range. So selecting F5:F71 (or I5:I71) and going to conditional formatting

    =AND(NOT(ISBLANK($F5:$F71)), $I5:$i71=0)

    Are we sure that these cells are truly blank?
    ChemistB
    My 2

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    09-05-2012
    Location
    KC,MO
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: conditional formatting based on 2 conditions

    Thanks - that helped.
    I changed it to: =AND(NOT(ISBLANK($F5)),$I5=0)
    and got the results I was expecting!

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    12,845

    Re: conditional formatting based on 2 conditions

    Great, you read between the lines. That's what I had meant to type up there. Sheesh.

  5. #5
    Registered User
    Join Date
    09-18-2012
    Location
    usa
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: conditional formatting based on 2 conditions

    The puzzle is to create Conditional Formatting on the Data Table to the left that identifies the break even point by shading the two cells that "sandwich" the break even point. See below for a screen shot of the desired result.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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