+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting with multiple conditions

  1. #1
    Registered User
    Join Date
    08-10-2016
    Location
    St. Paul, MN
    MS-Off Ver
    2010
    Posts
    7

    Conditional Formatting with multiple conditions

    Hello! I'm in need of your expertise!

    On the Customer Summary tab, I need columns H and Q to have conditional formatting (highlight red with dark red text).

    Here are the conditions:

    Columns A & C need to be matched to the 'Cust #' and 'Dept' on 'Store Volume code' tab (Columns B & D), with the conditional formatting to be based on the values in Column E (less than or equal to).

    Thanks in advance for your assistance!

    D. Landry
    Attached Files Attached Files

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

    Re: Conditional Formatting with multiple conditions

    Try this (somewhat untested)

    Select H4

    Conditional Formatting
    New Rule
    Use a formula to determine...

    =AND(A4 <> "",H4 <> "",H4 < INDEX(IF(A4='Store volume code'!B$2:B$16,'Store volume code'!D$2:E$7,IF(A4='Store volume code'!B$18:B$28,'Store volume code'!D$18,E$23)),MATCH(C4,IF(A4='Store volume code'!B$2:B$16,'Store volume code'!D$2:D$7,IF(A4='Store volume code'!B$18:B$28,'Store volume code'!E$18,E$23))),2))
    Format as required

    Use Format painter (paintbrush icon) to copy to other cells

    For column Q just change the H references above to Q
    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
    Registered User
    Join Date
    08-10-2016
    Location
    St. Paul, MN
    MS-Off Ver
    2010
    Posts
    7

    Re: Conditional Formatting with multiple conditions

    Thanks Special-K. Unfortunately, it's not working on all items. Some cells are doing what they should, others are not. What is also weird, I have it formatted for Fill and Text in red, but only Text is showing red - even though in the Rules Manager box it shows Fill and Text Red.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,866

    Re: Conditional Formatting with multiple conditions

    This solution employs a helper column (V), which may be hidden for aesthetic purposes.
    The formula that populates the helper column is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    The conditional formatting rule for column H is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Note: to get the conditional formatting to work I first chose the font color, on the fill tab I first selected the "No Color" button and then chose a color.
    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.

  5. #5
    Registered User
    Join Date
    08-10-2016
    Location
    St. Paul, MN
    MS-Off Ver
    2010
    Posts
    7

    Re: Conditional Formatting with multiple conditions

    Thank you so much JeteMC - this is really great!! I very much appreciate your assistance.

    -D. Landry

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,866

    Re: Conditional Formatting with multiple conditions

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools link above your first post. 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. multiple conditions conditional formatting
    By cholo4u2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-05-2015, 05:29 PM
  2. Multiple conditions in conditional formatting
    By hagap in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2015, 06:51 AM
  3. conditional formatting with multiple conditions
    By henk400 in forum Excel General
    Replies: 5
    Last Post: 03-23-2015, 07:15 AM
  4. Multiple Conditions for Conditional Formatting
    By b1769847@rmqkr.net in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-28-2014, 11:29 AM
  5. Conditional Formatting with multiple conditions
    By naaz in forum Excel General
    Replies: 5
    Last Post: 06-05-2012, 03:21 AM
  6. Conditional Formatting with multiple conditions
    By Tink in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-11-2009, 01:37 PM
  7. Multiple Conditions for Conditional Formatting
    By horton in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-03-2008, 02:58 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