+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting: Comparing cell with a column of values and applying 3 rules

  1. #1
    Registered User
    Join Date
    08-02-2013
    Location
    Germany
    MS-Off Ver
    Excel 2010
    Posts
    3

    Question Conditional Formatting: Comparing cell with a column of values and applying 3 rules

    Hi guys,

    I am looking to set rules so that each cell in a column is compared to one specific cell value and then traffic light rules are applied to the values in the column, eg Higher than x = green, equal to x = amber and lower than x = red.

    However, I have many columns so I would need help with finding the right formula to do this!

    Also, the specific cell value is not regular, so could be 3 in one column and 4 in the next column. So it can be refered to as value x.



    Thanks in advance!
    =)

    Abdi

  2. #2
    Forum Contributor
    Join Date
    07-02-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    197

    Re: Conditional Formatting: Comparing cell with a column of values and applying 3 rules

    Maybee like this:

  3. #3
    Registered User
    Join Date
    08-02-2013
    Location
    Germany
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Conditional Formatting: Comparing cell with a column of values and applying 3 rules

    Quote Originally Posted by Rambo4711 View Post
    Maybee like this:
    Yep that does the trick!

    Thanks.

    I am also looking at a another set of requirements.

    I3 Rules, EDIT.xlsxf you can have a look, my Formula may not be simple enough for the rules!
    I'm also trying to include this into one rule, so that it is faster to apply for each column, instead of 3X Rules for 1 column!

    These are the formulae I used:

    1 =IF(AND(A$1>=A2;A2>0); A2) = GREEN

    2 =IF(AND(A$1<A2;A2>0;A$1>0); A2) ORANGE

    3 =IF(AND(A$1=0;A2>0);A2 ) RED


    Please have a look
    :-)

  4. #4
    Forum Contributor
    Join Date
    07-02-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    197

    Re: Conditional Formatting: Comparing cell with a column of values and applying 3 rules

    The CF rules is quite OK.

    Remember that if you have defined CF rules in a cell in one column (without absolute references to columns), you can apply the same rule to other cells in other columns by copying the format from that cell (or use the paintbrush).

  5. #5
    Registered User
    Join Date
    08-02-2013
    Location
    Germany
    MS-Off Ver
    Excel 2010
    Posts
    3

    Thumbs up Re: Conditional Formatting: Comparing cell with a column of values and applying 3 rules

    Quote Originally Posted by Rambo4711 View Post
    The CF rules is quite OK.

    Remember that if you have defined CF rules in a cell in one column (without absolute references to columns), you can apply the same rule to other cells in other columns by copying the format from that cell (or use the paintbrush).
    OK.
    That works fine.

    Thanks for all the help!
    :-)


    Abdi

+ 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: 4
    Last Post: 02-26-2013, 05:01 PM
  2. [SOLVED] Applying rules when calculations result in negative values
    By Walter12 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-01-2012, 05:19 PM
  3. [SOLVED] Conditional formatting interior color from comparing two cell values VBA
    By Blue_Diamond in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-27-2012, 11:24 AM
  4. Replies: 3
    Last Post: 04-06-2011, 01:15 PM
  5. Replies: 3
    Last Post: 01-26-2010, 08:36 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