+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Conditional Formatting with 2 criteria

  1. #1
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    Conditional Formatting with 2 criteria

    I need it to turn red when it says local in Column D.

    I need it to turn orange when it says local in Column D AND says Balatons in column K.

    So only when it says balatons in column K do I need it to be different color from the other local. Anyone help

    What formula do I need for the conditional formatting to work?

    Thanks

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Conditional Formatting with 2 criteria

    CF rules are applied in the order they are evaluated. Since you have a two-criteria test in one that one should come first.

    So the first CF formula would be:

    =AND($K2="Balatons", $D2="local")


    The second CF rule would be simply:
    =$D2="local"
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    Re: Conditional Formatting with 2 criteria

    Awesome thanks works great
    Last edited by srgtennis; 07-06-2012 at 11:51 AM.

+ 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