+ Reply to Thread
Results 1 to 11 of 11

Conditional Formatting - To change the color of row,if any cell match is FALSE

  1. #1
    Registered User
    Join Date
    12-01-2022
    Location
    India
    MS-Off Ver
    2019
    Posts
    36

    Conditional Formatting - To change the color of row,if any cell match is FALSE

    Sir,

    I am preparing a monthly from an Excel file export from SharePoint ( attached the template copy )

    Report have 8 columns and all are connected each other .

    Column B : Inspection Category is connected with Column D : Finding Category
    If on Cell B2 : Health_Safety , on Cell D2 not Health_Safety, then Color of entire row have to change

    Color of Entire row have to change according to below findings

    1. If Cell C2: Negative , On cell F2, if F2= Positive Observation

    2. If Cell C2 : Positive , On cell F2, if Cell F2 not equal to Positive Observation

    3. If Cell C2 : Positive , On cell F2, if Cell F2 equal to Positive Observation & on Cell G2= Yes

    4. If Cell C2 : Negative, G2: Yes, then Cell H2: cannot be empty, if showing

    5. If Cell H2 have value, then I2 , Cannot be empty and value of I2 start with first word of H2
    Eg : If H2 : Lifting, then value of I2 start with Lifting.



    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,834

    Re: Conditional Formatting - To change the color of row,if any cell match is FALSE

    Please manually add colours to the rows that require highlighting in your sample to show what we are aiming for.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-01-2022
    Location
    India
    MS-Off Ver
    2019
    Posts
    36

    Re: Conditional Formatting - To change the color of row,if any cell match is FALSE

    Thanks for your reply, Please find attached new excel sheet with color change
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,834

    Re: Conditional Formatting - To change the color of row,if any cell match is FALSE

    You said this:

    If on Cell B2 : Health_Safety , on Cell D2 not Health_Safety, then Color of entire row have to change
    but there are no entire rows highlighted.

    We need examples of ALL secnarios.

  5. #5
    Registered User
    Join Date
    12-01-2022
    Location
    India
    MS-Off Ver
    2019
    Posts
    36

    Re: Conditional Formatting - To change the color of row,if any cell match is FALSE

    Thanks for your reply,

    Is possible to change Column A color, if any of the column color changes from B to H

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,834

    Re: Conditional Formatting - To change the color of row,if any cell match is FALSE

    I don’t understand what you mean. I’m off the laptop now - might look again in the morning.

    Provide a workbook with a full set of examples.

  7. #7
    Registered User
    Join Date
    12-01-2022
    Location
    India
    MS-Off Ver
    2019
    Posts
    36

    Re: Conditional Formatting - To change the color of row,if any cell match is FALSE

    Please find attached new excel sheet to make more clarity.

    In excel sheet you can find comments in the cells, where selected wrong value ( Highlighted in Yellow and Red font ).
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    12-01-2022
    Location
    India
    MS-Off Ver
    2019
    Posts
    36

    Re: Conditional Formatting - To change the color of row,if any cell match is FALSE

    Any update ?

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: Conditional Formatting - To change the color of row,if any cell match is FALSE

    It seems to me that:
    1. The orange rule only needs to expand the Applies to: =$B$2:$B$10,$D$2:$D$10
    2. The blue rule could be: =AND($C2="Negative",OR($F2="Positive Observation",AND($G2="yes",$H2="")))
    3. The rule for columns H:I (yellow) could be: =AND(LEN($H2)>0,LEFT($I2,SEARCH(" ",$I2)-1)<>LEFT($H2,SEARCH(" ",$H2)-1))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  10. #10
    Registered User
    Join Date
    12-01-2022
    Location
    India
    MS-Off Ver
    2019
    Posts
    36

    Re: Conditional Formatting - To change the color of row,if any cell match is FALSE

    It is working, Thanks, for your great support

    this support reduces my lot of stress and time while preparing a report.

  11. #11
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: Conditional Formatting - To change the color of row,if any cell match is FALSE

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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: 21
    Last Post: 07-23-2023, 07:35 AM
  2. Match cell color to range that uses conditional formatting color scales
    By pc2011 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2022, 09:37 AM
  3. [SOLVED] Conditional Formatting when I've 1 TRUE i need to color also 2 FALSE
    By XLalbania in forum Excel General
    Replies: 6
    Last Post: 11-03-2018, 01:23 PM
  4. [SOLVED] VBA script conditional formatting - change cell color
    By tuspilica in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-19-2017, 06:15 AM
  5. Replies: 5
    Last Post: 05-10-2012, 10:49 PM
  6. Replies: 3
    Last Post: 08-16-2006, 09:00 AM
  7. Replies: 2
    Last Post: 08-26-2005, 01:05 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