+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting based on adjacent cell values

  1. #1
    Registered User
    Join Date
    12-02-2007
    Posts
    5

    Conditional formatting based on adjacent cell values

    Hello and thanks in advance for helping me out!


    I have a set of 4 columns ( C to F) . I want the cell in C1 to be highlighted in a specific color (say red) if its value is LOWER THAN ALL the other values in D1 to F1). On the other hand, I want the cell in C1 to be highlighted another color (say green) if its value is HIGHER THAN ALL the other cell values in D1 to F1.

    I've tried different methods but have been unable to accomplish this.

    Thanks !

    D. Berliner

  2. #2
    Registered User
    Join Date
    07-14-2011
    Location
    Ha Noi, Viet Nam
    MS-Off Ver
    Excel 2010
    Posts
    53

    Re: Conditional formatting based on adjacent cell values

    You can enter this fomular in Condition Formating : Example : data : C1 : F3
    Condition formatting 1 : $C1 < Min($D$1:$F$3) -> Red
    Condition formatting 2 : $C1 > Max($D$1:$F$3) -> Blue (or green)he he!
    You can See attache file (example) :
    Attached Files Attached Files
    Last edited by sunflowers; 07-28-2011 at 06:04 AM.

  3. #3
    Registered User
    Join Date
    12-02-2007
    Posts
    5

    Re: Conditional formatting based on adjacent cell values

    Quote Originally Posted by sunflowers View Post
    You can enter this fomular in Condition Formating : Example : data : C1 : F3
    Condition formatting 1 : $C1 < Min($D$1:$F$3) -> Red
    Condition formatting 2 : $C1 > Max($D$1:$F$3) -> Blue (or green)he he!
    You can See attache file (example) :
    Great , that worked!

    However, I forgot to mention something important. I need to have this done all over the column by method of extrapolation ( i.e. Cells 2, 3, 4 and indefinitely...). How do I extrapolate the formula so that it does $C2 < Min($D$2:$F$2) -> Red , $C3 < Min($D$3:$F$3) -> Red, and so and so?

    Right now if i apply the condition regularly to the other cells they all seem to be based on the original formula for the cell in row 1.
    Last edited by dberliner; 07-28-2011 at 07:01 AM. Reason: clarification

  4. #4
    Registered User
    Join Date
    07-14-2011
    Location
    Ha Noi, Viet Nam
    MS-Off Ver
    Excel 2010
    Posts
    53

    Re: Conditional formatting based on adjacent cell values

    You can change that fomular in conditional Formating :
    CF 1 : $C1 < Min($D1:$F1) -> Red
    CF 2 : $C1 > Max($D1:$F1) -> Green

  5. #5
    Registered User
    Join Date
    12-02-2007
    Posts
    5

    Re: Conditional formatting based on adjacent cell values

    Quote Originally Posted by sunflowers View Post
    You can change that fomular in conditional Formating :
    CF 1 : $C1 < Min($D1:$F1) -> Red
    CF 2 : $C1 > Max($D1:$F1) -> Green
    Hey sunflowers!

    Sorry to be such a bother, would you mind posting again a spreadsheet example showing the extrapolation process? Didn't quite get the idea of how to implement that.


    Thanks,

    D. Berliner

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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