+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting

  1. #1
    Registered User
    Join Date
    10-29-2009
    Location
    BC, Canada
    MS-Off Ver
    Excel 2003
    Posts
    9

    Conditional formatting

    Hi,

    I'm trying to highlight data that exceed a value, but the value will change depending on the value of another parameter. for example


    Trying to highlgiht 'fluoride' values that exceed 10 (when 'hardness' value is <10) and exceed 20 (when 'hardness' value is >10)

    I don't know the best way to do this. and I don't know how to use macros...

    Help would be greatly appreciated. Thanks!

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,065

    Re: Conditional formatting problem

    Something like this:

    =AND($B1>20,$C1>10)
    =AND($B1>10,$C1<10)

    But you didn't define what with other solutions. You have 6 options (and to define what for =):

    B<10, C<10
    B<10, C>10, C<20
    B<10, C>20
    B>10, C<10
    B>10, C>10, C<20
    B>10, C>20
    Last edited by zbor; 10-30-2009 at 02:45 PM.
    Never use Merged Cells in Excel

  3. #3
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Conditional formatting problem

    see the attached.
    you didn't define "if the value equals 20".
    modytrane
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-29-2009
    Location
    BC, Canada
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Conditional formatting problem

    sorry guys, i didn't quite understand... I think it's how I explained it.
    I will try again and explain using numbers.

    I'm trying to do an exceedence table for groundwater quality. So the numbers from the wells are concentrations.

    These concentrations are compared against government "standards" for acceptable levels of these concentrations.

    Some standards, such as fluoride, vary depending on other groundwater parameters (such as the hardness of the water)

    So, I'm trying to figure out a way to get excel to automatically highlight the values that exceed the standard without going through the data...

    Below is the table I'm dealing with. (I have also attached it.) If anyone could do whatever needs to be done to make it work, and post it back that would be great!


    Parameter standard Well 1 Well 2 Well 3 Well 4Hardness N/A 77.2 40 76.2 50
    Fluoride 2 (if hardness value < 50) 4 2.2 1.14 3
    3 (if hardness value ≥ 50)

    if the 'well' values exceed the standard (not less than or equal to) then the well values need to be highlighted.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-29-2009
    Location
    BC, Canada
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Conditional formatting

    Still struggling with this... Anyone have any suggestions?

+ 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