+ Reply to Thread
Results 1 to 12 of 12

Conditional formating based on other conditional formating?

  1. #1
    Forum Contributor
    Join Date
    05-30-2011
    Location
    Sweden
    MS-Off Ver
    Excel 2013
    Posts
    107

    Conditional formating based on other conditional formating?

    I have a conditional formating rule for 100 cells. It equls to TRUE and shows RED if the cells contains something I want to get a warning about.

    Then I have another conditional formating rule for 10 other cells. It equls to TRUE and shows RED if the cells contains something I want to get a warning about.

    Finally I have one cell. I want this cell to be RED when any of the two conditioning rules above are true in any cell.

    How can I do this or something like it?

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Conditional formating based on other conditional formating?

    Just combine the same two conditions with an OR

    =OR(condition1,condition2)
    format as red
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    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
    52,936

    Re: Conditional formating based on other conditional formating?

    Also, you didnt say what the formulas were, but CF only ever works on TRUE or FALSE, so if your formula says something like...
    =F(A1=1,TRUE,FALSE)
    then you can simplify that to...
    =A1=1
    This will produce a TRUE or FALSE answer which CF will use
    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

  4. #4
    Registered User
    Join Date
    07-19-2013
    Location
    Lahore
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Conditional formating based on other conditional formating?

    I want Excel to turn red whole row like this.. the row which contains 0 in Column K...

    like this...shown in Img Excel(want this).PNG

    ...
    bt because headings are merged.. this happens..
    Excel 2(dont want).PNG

    help out.
    SHeet : working inv list.xlsx
    Last edited by sufian.naeem; 09-12-2014 at 01:30 PM.

  5. #5
    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
    52,936

    Re: Conditional formating based on other conditional formating?

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff)

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.

    Also, not all members are able - or willing - to download files from file-hosting sites. upload your file to the forum please

  6. #6
    Registered User
    Join Date
    07-19-2013
    Location
    Lahore
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Conditional formating based on other conditional formating?

    sure . . .
    y not...
    Attached Files Attached Files

  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
    52,936

    Re: Conditional formating based on other conditional formating?

    Try this in CF as a new rule/use formula...
    =AND(ISNUMBER($A3),$J3=0)

  8. #8
    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
    52,936

    Re: Conditional formating based on other conditional formating?

    sufian.naeem, I just noticed that you have posted your question on some1 elses thread. THis is called high-jacking and is against rule 2 of this forum. For future reference, please start your own thread wit your question, and if you feel it relevant, you can include a link back to this 1

  9. #9
    Registered User
    Join Date
    07-19-2013
    Location
    Lahore
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Conditional formating based on other conditional formating?

    Really sorry bout that, I will be really careful next time...Sorry about everything...
    Quote Originally Posted by FDibbins View Post
    sufian.naeem, I just noticed that you have posted your question on some1 elses thread. THis is called high-jacking and is against rule 2 of this forum. For future reference, please start your own thread wit your question, and if you feel it relevant, you can include a link back to this 1

  10. #10
    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
    52,936

    Re: Conditional formating based on other conditional formating?

    No problem, thanks for the understanding

  11. #11
    Forum Contributor
    Join Date
    05-30-2011
    Location
    Sweden
    MS-Off Ver
    Excel 2013
    Posts
    107

    Re: Conditional formating based on other conditional formating?

    Quote Originally Posted by Special-K View Post
    Just combine the same two conditions with an OR

    =OR(condition1,condition2)
    format as red
    I don't think this works. I have one conditioning rule in 100 cells. The first cell where I have it is J11 and it says =Abs(J11)-K11<AverageRate

    Since this rule exists in 100 cells there are 100 unique formulas:
    =Abs(J11)-K11<AverageRate
    =Abs(J12)-K12<AverageRate
    =Abs(J13)-K13<AverageRate
    =Abs(J14)-K14<AverageRate
    =Abs(J15)-K15<AverageRate

    I my "master cell" I want conditional formatting to apply if any of these formulas are true, in other words if any of these cells have conditional formating.

    Is this possible to achieve?

  12. #12
    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
    52,936

    Re: Conditional formating based on other conditional formating?

    With CF, you apply the rule to the 1st cell (under Rules), then define the range you need it to work on (under applies to)

+ 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: 5
    Last Post: 03-14-2014, 04:03 AM
  2. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  3. Replies: 6
    Last Post: 08-14-2006, 05:00 PM
  4. Replies: 2
    Last Post: 03-27-2006, 12:10 PM
  5. Install dates formating using conditional formating?
    By Jerry Eggleston in forum Excel General
    Replies: 2
    Last Post: 11-09-2005, 01:49 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