+ Reply to Thread
Results 1 to 6 of 6

combine 2 conditional formating rules

  1. #1
    Registered User
    Join Date
    04-12-2014
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    3

    combine 2 conditional formating rules

    Hi everyone, I have two conditional formatting rules that work independently, but I am looking to combine them into 1 rule, making (2) subject to (1) when (1) is true

    (1) =$B3:$B6="y"
    (2) =AND(COUNTIF(K$3:K$6,MIN(K$3:K$6))=1,K3=MIN(K$3:K$6))

    Thanks for your help

  2. #2
    Forum Contributor
    Join Date
    10-01-2013
    Location
    Cameron, Mo
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: combine 2 conditional formating rules

    Try this in the formula for the condtional cells. I am not sure it is perfect. I can't see exactly what you are trying to do with it from the above description. Good luck!

    =And($B3:$B6="y",AND(COUNTIF(K$3:K$6,MIN(K$3:K$6))=1,K3=MIN(K$3:K$6)))

  3. #3
    Registered User
    Join Date
    04-12-2014
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: combine 2 conditional formating rules

    Thanks for the reply but it doesn't do what I'd like it to do.

    what I'm trying to do is in the cells where:
    =$B3:$B6="y"
    is true,
    apply:
    AND(COUNTIF(K$3:K$6,MIN(K$3:K$6))=1,K3=MIN(K$3:K$6))) (finds the minimum, if the minimum is unique)

    I'd be more than happy to post the sheet if that would help.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: combine 2 conditional formating rules

    I think we'll need to see a small sample file. Make sure you tell us which cell(s) should be formatted.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    04-12-2014
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: combine 2 conditional formating rules

    I've attached a sample workbook with a better description of what I am trying to do.
    Hope this helps
    Attached Files Attached Files

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: combine 2 conditional formating rules

    Try this...

    =AND(B3="Y",COUNTIFS(B$3:B$10,"Y",K$3:K$10,MIN(K$3:K$10))=1,K3=MIN(K$3:K$10))

+ 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. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  2. Replies: 4
    Last Post: 11-27-2013, 03:13 PM
  3. [SOLVED] Conditional Formating Rules/IF---help with attached
    By awest181 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-26-2012, 06:16 PM
  4. Setting Rules for Conditional Formating
    By vkazmierski in forum Excel General
    Replies: 7
    Last Post: 03-15-2012, 06:33 PM
  5. how do i replicate formating rules that i have made?
    By kirvo85 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-10-2009, 11:53 AM

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