+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting: show me all values that are not more than x% appart from each othe

Hybrid View

  1. #1
    Registered User
    Join Date
    10-05-2017
    Location
    usa
    MS-Off Ver
    2013
    Posts
    11

    Conditional formatting: show me all values that are not more than x% appart from each othe

    Hello,
    I got a column with values like

    12
    13
    16
    12
    9
    8
    2
    15
    1
    2
    15
    16
    5
    8
    6

    Goal: show all the 12s, 13s bunched together in one color, all the 15s ,16s in a different color and all the 8s and 9s, too - basically all the numbers that are say 15% from each other or 1 point apart (12, 13 etc). And if they are 2 points apart (13, 14, 15, 16) they should be grouped 13, 14 and 15, 16 rather than 14, 15 with 12 and 16 left out.

    Is this possible?

    Thank you
    SMLlab

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,785

    Re: Conditional formatting: show me all values that are not more than x% appart from each

    It's not possible because the specification for what you want is not sufficiently rigorous.

    And if they are 2 points apart (13, 14, 15, 16) they should be grouped 13, 14 and 15, 16 rather than 14, 15 with 12 and 16 left out.
    This cannot be interpreted as a rule. 13 and 14 are 1 point apart. 14 and 15 are one point apart. 15 and 16 are one point apart. So they would all get the same color. I do not know why you say they are 2 points apart.

    What is the rule that says that 13 and 14 should be together, and 15 and 16 to be together, but not 14 and 15? Why not? You mentioned 12 but I have a feeling you meant to say 13.

    When numbers get larger, 15% gets bigger. The numbers 100 and 114 are within 15%. What would you do with a sequence like 100, 102, 105, 110, 114?

    You either need to develop mathematical rules that are more mathematical, or tell us all about the purpose of why you are doing this so we can help you figure it out.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    10-05-2017
    Location
    usa
    MS-Off Ver
    2013
    Posts
    11

    Re: Conditional formatting: show me all values that are not more than x% appart from each

    Hello Jazzer,
    thank you for your reply. Yes, I mean 13 and not 12.

    Those numbers are tracer tracee ratios in blood levels which will only range between 1 to 20. Unfortunately the method we are using knocks the values so much down that we are creeping somewhere in the just detectable range. If tracer or tracee jumps up due to the limitations of the method (variation in the blood plasma preparation) a small change will slap the ratio out of wack and instead of a ratio of 15% we will also get ratios like 2% or 8%. To minimize those method variations might not be possible. Since we do several measurements we can say which one is the correct but we tend towards the higher ratio values like 15 or 12. To check which one is the correct our approach now is to count which one occurs more. Since we tolerate to bundle 14 and 15 we can also bundle 12 and 13 (or 11) but we have to make a rule where not to bundle anymore. Thats why I say 14 and 15 get bundled but not 13 (2 points difference) - I know that is somehow difficult to determine where we cut off.
    I hope that makes the question more clear.

    sorry, I can't attach the excel file itself since it has patient data and is crazily cross linked

    best
    SMLlab

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,785

    Re: Conditional formatting: show me all values that are not more than x% appart from each

    I understand your specific example but I just cannot see a rule that could be applied to any numbers between 1-20.

    we can also bundle 12 and 13 (or 11)
    That is not a rule that you can express mathematically. "or 11" leaves doubt about what to do.

+ 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. Conditional Formatting to show if a formula has been changed
    By Grimwood in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-12-2013, 12:06 PM
  2. Replies: 0
    Last Post: 07-31-2012, 06:09 PM
  3. Conditional Formatting to show age of invoice?
    By leven in forum Excel General
    Replies: 9
    Last Post: 06-08-2012, 09:31 AM
  4. Replies: 0
    Last Post: 07-03-2011, 07:52 PM
  5. Replies: 6
    Last Post: 12-15-2010, 04:17 PM
  6. [SOLVED] Using Conditional Formatting to Show % Change.
    By rewsky in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-16-2010, 02:31 PM
  7. conditional formatting - show expired date
    By cat_b in forum Excel General
    Replies: 1
    Last Post: 07-22-2009, 05:10 PM
  8. Use conditional formatting to show + prefix for numbers?
    By gatsby692 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-28-2008, 01:21 AM

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