+ Reply to Thread
Results 1 to 7 of 7

Inconsistent Conditional Formatting result

Hybrid View

JohnWS Inconsistent Conditional... 08-19-2013, 02:21 PM
33CDonnelly Re: Inconsistent Conditional... 08-19-2013, 02:59 PM
JohnWS Re: Inconsistent Conditional... 08-19-2013, 03:30 PM
newdoverman Re: Inconsistent Conditional... 08-19-2013, 05:19 PM
JohnWS Re: Inconsistent Conditional... 08-19-2013, 05:42 PM
newdoverman Re: Inconsistent Conditional... 08-19-2013, 06:02 PM
JohnWS Re: Inconsistent Conditional... 08-20-2013, 01:09 PM
  1. #1
    Registered User
    Join Date
    08-19-2013
    Location
    Centennial Colorado USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Inconsistent Conditional Formatting result

    Greetings,
    I have a simple data log in txt format that I load into excel 2010 for analysis. One column is the mass per reading and I want to highlight cells that exceed certain accumulation rates.
    I used a simple formula to subtract the previous reading from the current reading and then conditionally format to highlight certain rate thresholds.

    The problem is that the formatting does not appear to work consistenly to the extent that two cells can have identical values yet be formatted differently. In other cases value a meets the criterion and is formatted correctly, value b is larger but in the same range but is not formatted.

    I have expanded resolution to maximum and added a rule that ANY value greater than 0 (zero) should be formatted and still get odd results. Checked workbook options and did not see any issue.

    I have attached a small snippet of a data file for an example.

    Thank you for your input.
    Regards,
    JohnWS
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-13-2013
    Location
    California, USA
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: Inconsistent Conditional Formatting result

    Ok I see a couple issues alrdy, first you have 2 colors using the same conditional of > 0.00000001, secondly, its its > 0.00000005 its also > 0.00000001 So try using a Range rules if its > 0.00000001 or <= 00000002 its so and so color. also I didn't look to closely but you have the first light blue one referencing B2 and the rest referencing b3? I didn't look at it to much since im a work. If you need more help let me know and ill give it a shot.

  3. #3
    Registered User
    Join Date
    08-19-2013
    Location
    Centennial Colorado USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Inconsistent Conditional Formatting result

    33CDonnelly,

    Thanks for looking briefly. The $B2 $B3 reference difference really has no effect. It is an artifact from some of my efforts to figure out what is going on. Changing it made no difference.

    I also changed the number format in troubleshooting to see if the decimal resolution had any effect. Shouldn't have, since it is a display parameter rather than a calculation parameter. And it did not.

    There is only one reference to .00000001 (1E-8) and one .000000001 (1E-9). Zeros are hard to count and I originally had it scientific notation prior to TS.
    The order of the tests would leave the last quantity for which the condition was true formatted appropriately, using the KISS principle, I went for the simplest rules.

    When the first test is; "Is it greater than ZERO" and it fails to format every nonzero value, I am mystified.
    Regards,

    John

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Inconsistent Conditional Formatting result

    The rules are applied in order of the listing in CF. For values like you have given, arrange the rules so that they go from greatest value down to the least.

    Better defined rules as suggested will give better results.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    08-19-2013
    Location
    Centennial Colorado USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Inconsistent Conditional Formatting result

    newdoverman,
    Thank you. In the rules dialog there is a checkbox for "Stop if True". My understanding was that if left blank the rules would continue to be tested to the last. Is this not the case? I did try this and it did not resolve the original issue though it did make a difference. So it appears that rule processing does stop even if the check box is left unchecked. What then is the purpose of the check box?

    Again, thank you.
    John

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Inconsistent Conditional Formatting result

    Here is a video that has a reasonable explanation of the Stop If True.

    http://www.youtube.com/watch?v=kgKxKn5iV2Q

  7. #7
    Registered User
    Join Date
    08-19-2013
    Location
    Centennial Colorado USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Inconsistent Conditional Formatting result

    Problem resolved. This may be a bug. Changing the Cell reference from $B3 to $B1 caused the Conditional Formatting to work as expected. This is repeatable.

+ 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. Data Table producing inconsistent result
    By Dinsy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-04-2013, 12:38 PM
  2. [SOLVED] Conditional formatting not copied as a result of macro fix?
    By ad9051 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-27-2012, 07:00 AM
  3. [SOLVED] Conditional Formatting Against a Formula - not it's result
    By Mike The Newb in forum Excel General
    Replies: 3
    Last Post: 08-10-2006, 05:40 PM
  4. Replies: 6
    Last Post: 12-18-2005, 06:15 PM
  5. [SOLVED] Conditional Formatting using result of Cell Formulas
    By Father Guido in forum Excel General
    Replies: 2
    Last Post: 01-26-2005, 01:06 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