+ Reply to Thread
Results 1 to 4 of 4

IF MAX (yellow), MIN (blue) conditional formatting

  1. #1
    Forum Contributor
    Join Date
    05-10-2019
    Location
    Penang, Malaysia
    MS-Off Ver
    2016
    Posts
    262

    IF MAX (yellow), MIN (blue) conditional formatting

    Hi All,

    I have successfully used the following functions with conditional formatting:
    =IF(C4>=MAX($C$4:$C$11),C4,IF(C4=MIN($C$4:$C$11),C4,""))
    CONDITIONAL FORMATTING:
    MIN (highlited in blue)
    =$D4=MIN($D4:$D11)
    MAX (highlited in yellow)
    =$D4=MAX($D4:$D11)
    conditional formatting for both working fine. However, if the MAX value is below MIN, both will be highlited in blue instead of yellow & blue.

    What went wrong?

    Please find attachment.
    Thank-You very much
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: IF MAX (yellow), MIN (blue) conditional formatting

    Change your range to
    =$D4=MIN($C4:$C11)
    (same for MAX)

  3. #3
    Forum Contributor
    Join Date
    05-10-2019
    Location
    Penang, Malaysia
    MS-Off Ver
    2016
    Posts
    262

    Re: IF MAX (yellow), MIN (blue) conditional formatting

    Hi Pepe Le Mokko,

    Yes, it fixed. So, i cannot put both conditions to column D, but instead conditional formatting to C & =IF(C4>=MAX($C$4:$C$11),C4,IF(C4=MIN($C$4:$C$11),C4,"")) to column D
    ok got it!

    Will mark as SOLVED & added reputation to you.

    Thank-You very much

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: IF MAX (yellow), MIN (blue) conditional formatting

    You're welcome

+ 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. detect in a color to yellow pairs and odd blue, *
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-30-2019, 05:56 AM
  2. Replies: 5
    Last Post: 08-17-2016, 06:45 PM
  3. Conditional Format to Blue Fill and Blue Font IF two conditions are met
    By Branbran10 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2015, 10:52 AM
  4. Delete all rows with yellow or blue
    By ekr in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-20-2014, 12:26 PM
  5. Replies: 2
    Last Post: 04-06-2014, 08:57 AM
  6. [SOLVED] Conditional Formatting- date with red, yellow or green
    By ldurham in forum Excel General
    Replies: 2
    Last Post: 02-03-2014, 07:38 AM
  7. Help with conditional formatting:P3 to turn blue,
    By balucanb in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 08-02-2009, 10:39 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