+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting Triggered when Another Conditional Formatting is Triggered

  1. #1
    Registered User
    Join Date
    12-06-2019
    Location
    Utah
    MS-Off Ver
    Office 365
    Posts
    42

    Conditional Formatting Triggered when Another Conditional Formatting is Triggered

    I've got a spreadsheet that helps me calculate the pkging costs for multiple clients. When a new pkging dimension is used in our shipping system that isn't listed in my spreadsheet, I've formulated my spreadsheet to turn that unknown box dimension's quantity to bright yellow until I can determine what the actual size of the box is, what it's cost is, and any notes that I need to make.

    Here's where I need help. This spreadsheet is very wide normally - going out to about Column CC - and there's lots of dims (rows) listed. (I've only provided 1 client's worth of data.) I'm needing help doing a conditional formatting task on Cell L2. When any cell in Column B turns yellow, I'd like for Cell L2 to also turn yellow.

    Now I know the easiest way to do this is to take the ISERROR part out of my formula in H2. Then my Cost in H2 would come back with an error if anything had turned yellow. Piece of cake. However, there are some dims in the purple table that need to stay as errors right now so I have to have the ISERROR part of that formula in H2.

    If L2 could turn yellow when any qty in Column B turned yellow, then I'd be able to see much faster which clients have unknown dims that need to be addressed.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,565

    Re: Conditional Formatting Triggered when Another Conditional Formatting is Triggered

    Try:

    Type Name Formula
    NR Cost =Table3[Cost]
    NR Off_Road =Table3[Off-Road]
    NR Off_Road_Cost =Table3[Off-Road Cost]

    CF Formula (for cell L2) =COUNT(FILTER(Off_Road,(Off_Road<>0)*(ISERROR(Off_Road_Cost))))

    I needed to create some Named Ranges that referred to the Table columns as the Conditional Format formula wasn't happy about Structured Table References.
    Attached Files Attached Files
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,565

    Re: Conditional Formatting Triggered when Another Conditional Formatting is Triggered

    OK, after a bit more research, you CAN use the Structured Table References but you need to enclose them with INDIRECT.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I don't know why you have to do that, but it works ... even though a) it makes the formula a lot longer and b) it is using a Volatile function.

  4. #4
    Registered User
    Join Date
    12-06-2019
    Location
    Utah
    MS-Off Ver
    Office 365
    Posts
    42

    Re: Conditional Formatting Triggered when Another Conditional Formatting is Triggered

    @tms - Thank you so much!!! The INDIRECT addition helped me!!!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,565

    Re: Conditional Formatting Triggered when Another Conditional Formatting is Triggered

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. [SOLVED] Conditional formatting a full row triggered by a single cell
    By neilcarden in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  2. [SOLVED] Conditional formatting a full row triggered by a single cell
    By neilcarden in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  3. Conditional formatting a full row triggered by a single cell
    By neilcarden in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 AM
  4. Conditional formatting a full row triggered by a single cell
    By neilcarden in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. Conditional formatting a full row triggered by a single cell
    By neilcarden in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. [SOLVED] Conditional formatting a full row triggered by a single cell
    By neilcarden in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  7. Conditional formatting a full row triggered by a single cell
    By neilcarden in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  8. [SOLVED] Conditional formatting a full row triggered by a single cell
    By neilcarden in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-17-2005, 02: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