+ Reply to Thread
Results 1 to 4 of 4

Conditional Format Top/Bottom Rules

  1. #1
    Forum Contributor
    Join Date
    06-15-2010
    Location
    Oklahoma
    MS-Off Ver
    Excel 2019
    Posts
    168

    Question Conditional Format Top/Bottom Rules

    I have a column of 50 cells with various numbers and I, through the Top/Bottom Conditional Formating Rule, highlight the 10 highest numbers and the 10 lowest numbers.

    How can I highlight the highs and lows while ignoring both "0" or blank cells?

    Regards,
    Gary

  2. #2
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Conditional Format Top/Bottom Rules

    say your cells are A1 to A50 highlite your cells and conditional format
    condition 1 "=and(A1<>0,A1<=small(if(A$1:A$50<>0,A$1:A$50),10))" and format your colour
    condition 2 "=and(A1<>0,A1=large(if(A$1:A$50<>0,A$1:A$50),10))" and format your colour

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Conditional Format Top/Bottom Rules

    condition 2 should be
    =and(A1<>0,A1>=large(if(A$1:A$50<>0,A$1:A$50),10))"
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Valued Forum Contributor
    Join Date
    05-19-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Conditional Format Top/Bottom Rules

    your correct martindwilson --- thanks for the correction

+ 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