+ Reply to Thread
Results 1 to 7 of 7

apply 2 condition formatting on the same row

  1. #1
    Registered User
    Join Date
    10-20-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2011
    Posts
    4

    apply 2 condition formatting on the same row

    Hi, I need to apply 2 condition formatting on the same row by using drop down list.
    The first condition formatting is to highlight the cell in difference colour
    For example the whole row will turn in green if cell $K12="Yes"
    And then I want to apply another Condition formatting on the same row if cell $N12= "complete" by grey out the text or disable the roll.
    Is there anyway to do this?
    I'm using excel 2011 on Mac.

    Thank You.

  2. #2
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: apply 2 condition formatting on the same row

    Are you looking for this result?
    Attached Files Attached Files
    Please click 'Add reputation', if my answer helped you.

  3. #3
    Registered User
    Join Date
    10-20-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2011
    Posts
    4

    Re: apply 2 condition formatting on the same row

    Hi, Thanks for helping but I cannot download the file

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,010

    Re: apply 2 condition formatting on the same row

    Hi and welcome to the forum

    Assuming you want the "grey" to take precedence over "green", try this (I am unfamiliar with mac, so I hope the commands are the same/in the same place)

    1. highlight the range you want to apply the conditional formatting to (for instance A2:J20)
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter $K12="Yes format fill GREEN

    Repeat 3 and 4 with $N12= "complete" format fill GREY
    This rule should now be the 1st/top rule, and beside it, should be a box to check "stop if true" - check that box
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    10-20-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2011
    Posts
    4

    Re: apply 2 condition formatting on the same row

    Quote Originally Posted by ramananhrm View Post
    Are you looking for this result?
    Hi, I'm able to download the file now. The result that that need is that the row still highlight as green colour but the text inside is grey out or disable to change.
    Is there any possible way to do that?

  6. #6
    Registered User
    Join Date
    10-20-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2011
    Posts
    4

    Re: apply 2 condition formatting on the same row

    Quote Originally Posted by FDibbins View Post
    Hi and welcome to the forum

    Assuming you want the "grey" to take precedence over "green", try this (I am unfamiliar with mac, so I hope the commands are the same/in the same place)

    1. highlight the range you want to apply the conditional formatting to (for instance A2:J20)
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter $K12="Yes format fill GREEN

    Repeat 3 and 4 with $N12= "complete" format fill GREY
    This rule should now be the 1st/top rule, and beside it, should be a box to check "stop if true" - check that box
    Thank you, FDibbins.
    What I need is the row still remain its colour but only the text will turn to grey if N12=Complete, or the row will be disable if N12=Complete.
    Is there any possible way to do that?

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,010

    Re: apply 2 condition formatting on the same row

    Instead of grey fill, make it grey font, and move the rule down to 2nd place (use the uppy-downy arrows on the side)

+ 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. how to Calculate the difference between two times and apply <= to the condition
    By student_query in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-07-2013, 08:10 PM
  2. [SOLVED] I need to apply same condition formating in different rows
    By azhar.abidi in forum Excel General
    Replies: 8
    Last Post: 09-19-2012, 07:20 AM
  3. how to apply a condition for entire colomn
    By pavu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2012, 12:53 PM
  4. Formula to apply to multiple worksheets when a condition is met.
    By RunHard in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-03-2009, 03:06 AM
  5. How to apply more than one IF condition in 1 cell
    By Cesar in forum Excel General
    Replies: 1
    Last Post: 12-18-2005, 08:25 AM

Tags for this Thread

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